[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

14 / 15

What is the output of the following 'C' program ?

#include<stdio.h>
int main(x,y) 
int x; char *y[];
{
printf("%d %s", x, y[1]);
return 0;
}
output when invoked as 
a.out arg1

A1 a.out

B1 arg1

C2 a.out

D2 arg1

Answer: Option (Login/Signup)

Show Explanation

Asked In ::

Post Your Answer Here:     

No Discussion on this question yet!