Examveda
Examveda

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

A. 4

B. 3

C. 0

D. Undefined

Answer: Option A


This Question Belongs to C Program >> Function

Join The Discussion

Related Questions on Function