1.

What would be the output of the following program, if run from the command line as “myprog 1 2 3”?main (int argc, char * argv[ ]){  int i ;i = argv[1] + argv[2] + argv[3] ;printf (“% d”, i) ;}

A. 123
B. 6
C. Error
D. “123”
Answer» D. “123”


Discussion

No Comment Found