Q. What is the output of the given code?
loop do
m += 1
puts m
break if m == 3
end
loop do
m += 1
puts m
break if m == 3
end
β
Correct Answer: (A)
Garbage values
You must be Logged in to update hint/solution