Q. What is the output of the given code?
counter = true
while counter !=false
puts counter
end
counter = true
while counter !=false
puts counter
end
β
Correct Answer: (D)
Infinite loop
You must be Logged in to update hint/solution