Vidyalelo
C Programming · Q97

Control Structures

Programming · C Programming · question 97

Q97

What will be the output of the following C code? #include int main() int a = 0, i = 0, b; for (i = 0;i < 5; i++) a++; if (i == 3) break;

A.
1
B.
2
C.
3
D.
4
Answer

Answer: Option D

Solution

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