πŸ“Š Ruby
Q. What is the output of the code?
variable=true
if !variable
puts "true"
else
puts "false"
end
  • (A) False
  • (B) True
  • (C) Syntax error
  • (D) None of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (A) False

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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