What is the output of the given code?
m=0
loop do
puts 101
m+=1
break if m==5
end
m=0
loop do
puts 101
m+=1
break if m==5
endA. 101 101 101 101 101
B. 10 20 30 40 50
C. Error
D. None of the mentioned
Answer: Option A

Join The Discussion