What do you want to save?
Add Code snippet
New code examples
-
C++ 2021-09-29 05:21:05
what is atoi in strinf
The C library function int atoi(const char *str) converts the string argument str to an integer (type int). Note: It is used in case of string because in strings a number is also stored as char and we have to do Typecasting form (string -> int) Add solution