“stdlib.h” header file supports all the type casting functions in C language. But, it is a non standard function. Example program for itoa function in C. The atoi function converts str into an integer, and returns that integer. Str should start with a whitespace or some sort of number, and atoi will stop reading from str as soon as a non-numerical character has been read.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |