Home / Programming MCQs / Ruby MCQs / Question

V

Vinay Kumar • 8.55K Points
Tutor III

Q. What will be the output of the given code?

Code:
while a&&b
puts a
end
(A) TRUE
(B) FALSE
(C) Syntax Error
(D) Name Error
Explanation by: Vinay Kumar
undefined local variable or method

You must be Logged in to update hint/solution

Discusssion

Login to discuss.