Vidyalelo
C Programming · Q215

Function

Programming · C Programming · question 215

Q215

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

A.
3 3
Answer
B.
3 4
C.
3 5
D.
Run time error

Answer: Option A

Solution

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