Converting a string to number and vice versa

There are standard C functions which helps us in this. Some are listed below, and they are quite easy to use! strtol, strtoul – Function to convert a string to integer, also converts numbers in different bases for e.g. hex, oct, decimal strtod – Function to convert a string to double atoi, wtoi, _ttoi – […]
Continue reading…