Q. What is the output of the given code?
counter = true
while counter !=false
puts counter
end

  • (A) True
  • (B) False
  • (C) Syntax error
  • (D) Infinite loop
πŸ’¬ Discuss
βœ… Correct Answer: (D) Infinite loop

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
138
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
91%
Success Rate