Vidyalelo
C Programming · Q198

Function

Programming · C Programming · question 198

Q198

What will be the output of the following C code? #include int main() register static int i = 10; i = 11; printf("%d ", i);

A.
10
B.
Compile time error
Answer
C.
Undefined behaviour
D.
11

Answer: Option B

Solution

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