Vidyalelo
Ruby Programming · Q92

Control Structures in Ruby

Programming · Ruby Programming · question 92

Q92

What is the output of the given code? counter = true while counter !=false puts counter end

A.
True
B.
False
C.
Syntax error
D.
Infinite loop
Answer

Answer: Option D

Solution

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