Vidyalelo
C Programming · Q151

Control Structures

Programming · C Programming · question 151

Q151

What will be the output of the following C code? #include void main() int i = 2; do printf("Hi"); while (i < 2)

A.
Compile time error
Answer
B.
Hi Hi
C.
Hi
D.
Varies

Answer: Option A

Solution

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