C program to find sum of two numbers using command line arguments
belongs to collection: Command Line Arguments Examples/Programs in C language
All Answers
total answers (1)
belongs to collection: Command Line Arguments Examples/Programs in C language
total answers (1)
Program to find the sum of two integer numbers using command line arguments in C
Output
What is atoi()?
atoi() is a library function that converts string to integer, when program gets the input from command line, string values transfer in the program, we have to convert them to integers (in this program). atoi() is used to return the integer of the string arguments.
need an explanation for this answer? contact us directly to get an explanation for this answer