Q. What will be the output of 5 > 3 ? 'Yes' : 'No'; ?

  • (A) Yes
  • (B) No
  • (C) 5 > 3
  • (D) error
πŸ’¬ Discuss
βœ… Correct Answer: (A) Yes
Explanation: This is the ternary operator; since 5 > 3 is true, output is Yes.
Explanation by: Rati Dubey
This is the ternary operator; since 5 > 3 is true, output is Yes.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
105
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
94%
Success Rate