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)