Examveda

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

A. 9

B. 5

C. 4

D. 0

Answer: Option C


This Question Belongs to C Program >> Function

Join The Discussion

Related Questions on Function