Examveda

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

A. 0

B. Junkvalue

C. Run time error

D. Nothing

Answer: Option B


This Question Belongs to C Program >> Function

Join The Discussion

Related Questions on Function