Home » C Programming » Command Line Arguments

What will be the output of the program (myprog.c) given below if it is executed from the command line? cmd> myprog 1 2 3 /* myprog.c */ #include #include int main(int argc, char **argv) { int i, j=0; for(i=0; i

Correct Answer: 6

← Previous Question Next Question→

More Questions from Command Line Arguments

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion