Vidyalelo
C Programming · Q59

Function

Programming · C Programming · question 59

Q59

What will be the output of the following C code? #include int x; void main() m(); printf("%d", x); void m() x = 4;

A.
0
B.
4
Answer
C.
Compile time error
D.
Undefined

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board