Vidyalelo
C Programming · Q147

Control Structures

Programming · C Programming · question 147

Q147

What will be the output of the following C code? #include void main() int i = 0; while (++i) printf("H");

A.
H
B.
H is printed infinite times
Answer
C.
Compile time error
D.
Varies

Answer: Option B

Solution

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