Examveda
Examveda

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

A. 0

B. 1

C. Depends on the platform

D. Depends on the compiler

Answer: Option B


This Question Belongs to C Program >> Pointer

Join The Discussion

Related Questions on Pointer