Q. What will be the output of the given code?
Code:
a=1 b=1 while a&&b puts a+b end
β
Correct Answer: (C)
Infinite Loop
Explanation: Infinite loop is the correct answer.