Examveda
Examveda

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

A. 8

B. 0

C. Undefined

D. Compile time error

Answer: Option D


This Question Belongs to C Program >> Function

Join The Discussion

Related Questions on Function