Examveda

What will be the output of the following C code?
#include <stdio.h>
void main()
{
    static int x;
    printf("x is %d", x);
}

A. 0

B. 1

C. Junk value

D. Run time error

Answer: Option A


This Question Belongs to C Program >> Function

Join The Discussion

Related Questions on Function