Find the output of the following program (myprog.c

Loading

โœช Choose the correct option.

Find the output of the following program (myprog.c) in GCC compiler by giving command line arguments as :-

$gcc myprog.c
$ ./a.out one two three

/* myprog.c */ 
#include
int main(int argc, char **argv) {
printf("%c ", **++argv);
return 0;
}

A. myprog one two three
B. myprog one two three
C. o
D. Error

Leave a Comment