adplus-dvertising
frame-decoration

Question

What will be output for the following code?
#include <stdio.h>
int main(int argc, char *argv[])
{
    printf(""%d
"", argc);
    return 0;
}

a.

0

b.

1

c.

error

d.

Depends on the compiler

Posted under C Programming

Answer: (b).1

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What will be output for the following code?