Set the base for atoi() and atol() to 0, since we're reading Python
numbers here, and so that atol() doesn't barf on the trailing 'L'. Add a test case involving a long integer.
Showing
Please
register
or
sign in
to comment
numbers here, and so that atol() doesn't barf on the trailing 'L'. Add a test case involving a long integer.