Vidyalelo
C Programming · Q100

Function

Programming · C Programming · question 100

Q100

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

A.
6
B.
5
C.
Junk value
D.
Compile time error
Answer

Answer: Option D

Solution

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