what is atoi in strinf

Solutions on MaxInterview for what is atoi in strinf by the best coders in the world

showing results for - "what is atoi in strinf"
Lisa
23 Feb 2017
1The C library function int atoi(const char *str) converts the 
2string argument str to an integer (type int).
3
4Note: It is used in case of string because in strings a number is
5also stored as char  and we have to do Typecasting  form (string -> int)