Vidyalelo
C Programming · Q161

Pointer

Programming · C Programming · question 161

Q161

What will be the output of the following C code (if run with no options or arguments)? #include int main(int argc, char *argv[]) printf("%d ", argc); return 0;

A.
0
B.
1
Answer
C.
Depends on the platform
D.
Depends on the compiler

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board