Vidyalelo
C Programming · Q155

Control Structures

Programming · C Programming · question 155

Q155

What will be the output of the following C code? #include void main() int i = 0; int j = 0; for (i = 0;i 1) continue; printf("Hi ");

A.
Hi is printed 9 times
B.
Hi is printed 8 times
Answer
C.
Hi is printed 7 times
D.
Hi is printed 6 times

Answer: Option B

Solution

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