I tried atoi in c++ with 2147483648 and the output is -2147483648,
but here the output is expected to be 2147483647.
Does anyone know why?
"this function does not detect overflow (errno is not changed and the
result value is not predictable), uses smaller memory (flash and
stack) and works more quickly."