Q. What should be expression1 evaluate to in using ternary operator as in this line?
expression1 ? expression2 : expression3

  • (A) Integer
  • (B) Floating - point numbers
  • (C) Boolean
  • (D) None of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (C) Boolean

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
121
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Ravi Shankar
Publisher
πŸ“ˆ
94%
Success Rate