What will be the output of the program (myprog.c) given below if it is executed from the command line cmd> myprog 10 20 30 /* 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; }

Comments and Answers (2)

Archana

Archana

please anyone explain this answer

Bhuvna

Bhuvna

please explain answer

Avatar

{{SampleComment.userName || "Your Name"}} ~ {{SampleComment.userCity}}

{{SampleComment.commentValue || "Your Answer or Comment goes here...."}}