How do you convert strings to numbers in C?
4 years ago
C Programming
You can write you own functions to do string to number conversions, or instead use C's built in functions. You can use atof to convert to a floating point value, atoi to convert to an integer value, and atol to convert to a long integer value.
Sanisha Maharjan
Jan 20, 2022