Discuss About this Question.
int main(int ac, char *av[]) { }
/* myprog.c */ #include<stdio.h> #include<stdlib.h> int main(int argc, char **argv) { int i; for(i=1; i<=3; i++) printf("%u\n", &argv[i]); return 0; }
If the first value printed by the above program is 65517, what will be the rest of output?
/* myprog.c */ #include<stdio.h> int main(int argc, char **argv) { int i; for(i=0; i<argc; i++) printf("%s\n", argv[i]); return 0; }
To install on iPhone/iPad: tap Share → Add to Home Screen.
Discuss About this Question.