How can I convert a string to a number? Ans. The standard C library provides several functions for converting strings to numbers of all formats (integers, longs, floats, and so on) and vice versa. One of these functions, atoi(), is used here to illustrate how a string is convert...
See more
Download the Study24x7 App, so you can connect and collaborate.