I have used the function atoi to convert character strings to int and it\'s working fine but when I gave
atoi
int
num = atoi (argv[1]) ; /
You can use strtoull for very long numbers.
strtoull
unsigned long long int strtoull(const char *nptr, char **endptr, int base);
Compile with C99 support -std=c99 or provide the defines in man strtoull to get the definition.
-std=c99
man strtoull