Q. Ternary operator in C programming is ___.

  • (A) if-else-if
  • (B) ? :
  • (C) ?:?:
  • (D) None of these
πŸ’¬ Discuss
βœ… Correct Answer: (B) ? :
Explanation: Ternary operator is used to execute expressions based on the given condition.
Explanation by: Kanak Sharma
Ternary operator is used to execute expressions based on the given condition.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
434
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Kanak Sharma
Publisher
πŸ“ˆ
96%
Success Rate