Vidyalelo
C Programming · Q18

Control Structures

Programming · C Programming · question 18

Q18

How can you create an infinite loop in C?

A.
Use a 'for' loop
B.
Use a 'while' loop with a true condition
Answer
C.
Use a 'do-while' loop
D.
Use a 'switch' statement

Answer: Option B

Solution

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