πŸ“Š Ruby
Q. What is the output of the expression: "5".to_i + 2 in Ruby?
  • (A) 7
  • (B) "52"
  • (C) 7
  • (D) Error
πŸ’¬ Discuss
βœ… Correct Answer: (A) 7

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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