C Programming :: Command Line Arguments - Discussion
Home > C Programming > Command Line Arguments > MCQs Questions Discussion
12 / 15
If the following 'C' program (dumpProg) is run from the command line as "dumpProg friday tuesday Sunday". What would be the output ?
void main (int size of argv, char*argv[])
{
while (size of argv)
printf("%s", argv[-- size of argv]);
}
Amyprog friday tuesday sunday
Bsunday tuesday friday myprog
Cmyprog friday tuesday
Dsunday tuesday friday
Answer: Option (Login/Signup)
Show Explanation
Asked In ::
No Discussion on this question yet!