Examveda
Examveda

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

A. 9

B. 4

C. 5

D. 0

Answer: Option A


This Question Belongs to C Program >> Function

Join The Discussion

Related Questions on Function