Warning: Some posts on this platform may contain adult material intended for mature audiences only. Viewer discretion is advised. By clicking ‘Continue’, you confirm that you are 18 years or older and consent to viewing explicit content.
My comment wasn’t that clear. 1254 is with a 90% reduction and the example question about atol’s behavior was just an example. I looked it up earlier that day but was unable to find it using Google.
atol is a C/C++ function that takes in a char pointer and returns a long. I was trying to figure out if it would gracefully stop when it encountered non-numeric characters, if it would skip them or if it would cause undefined behavior.
My comment wasn’t that clear. 1254 is with a 90% reduction and the example question about
atol
’s behavior was just an example. I looked it up earlier that day but was unable to find it using Google.atol
is a C/C++ function that takes in a char pointer and returns a long. I was trying to figure out if it would gracefully stop when it encountered non-numeric characters, if it would skip them or if it would cause undefined behavior.