[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

C Programming :: Command Line Arguments - Discussion

Home > C Programming > Command Line Arguments > MCQs Questions Discussion

7 / 15

If the following program i.e "myprog" is run from the command line as "a.out" . What would be the output?

#include
void main (int argc, char*argvl))
{
int i;
for (i = 1; i < argc; i++)
print[ ("%s", argv[i]);
}

A*c

BList of all .c files in the current directory

C"*c"

DNone of these

Answer: Option (Login/Signup)

Show Explanation

Asked In ::

Post Your Answer Here:     

No Discussion on this question yet!