c program

  • C # program structure C # program structure before learning how to build c # programming language blocks, we should explore the basic c # program structure.
  • Atof () function in C Atof () function in C the double atof function (const char * str) in standard c library converts a string pointed to by parameter str to a floating point number (type double).
  • The function atoi () in C The function atoi () in C the int atoi function (const char * str) in standard c library converts a string pointed to by parameter str to an integer (int type).
  • The atol () function in C The atol () function in C the function long int atol (const char * str) in the standard c library converts a string pointed to by parameter str to some long int.
  • The function strtod () in C The function strtod () in C the double strtod function (const char * str, char ** endptr) in standard c library converts a string pointed to by parameter str to a floating point number (type double).
  • Function strtol () in C Function strtol () in C the function long int strtol (const char * str, char ** endptr, int base) in standard c library converts part of the original string in str to a value of long int corresponding to the base base, but must are 2, 8, ..., 36, or special value 0.
  • Function strtoul () in C Function strtoul () in C the unsigned function long int strtoul (const char * str, char ** endptr, int base) in standard c library converts part of the original string in str to a value of long int corresponding to the base base, given can be 2, 8, ..., 36, or special value 0.