Question: Suppose that your main program starts with: int main (int arge, char **argv) Further suppose that your program with the above description for main is
Suppose that your main program starts with: int main (int arge, char **argv) Further suppose that your program with the above description for main is compiled into an executable call myBin and that it is executed with the statement: ./myBin 3 In your main program, how could you access the parameter (with value 3 in this case) and convert it to an integer? none of these O atoi ( argv[1]) ston ( argv[0]) atoi ( argv[0] ) O atol (argv[0]) O atoi ( argv[3] )
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
