Q. What is the output of the given code?
unless true && false
print "false"
else
print "ruby"
end

  • (A) True
  • (B) 2 is less than 3
  • (C) Nil
  • (D) Syntax error
πŸ’¬ Discuss
βœ… Correct Answer: (B) 2 is less than 3

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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