Computer · C Programming
Which of the following represents the correct syntax of the conditional (ternary) operator in C language?
Verified Solution4 OptionsUpdated: October 2026👁️1 View
Share:
- 1condition1 && expression1 || expression2
- 2condition1 : expression1 ? expression2
- 3expression || expression1 && expression2
- 4expression1 ? expression2 : expression3✓
Correct answer
expression1 ? expression2 : expression3
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
👥
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Online Test Series
Preparing for Computer?
Practice full-length Computer mock tests with real exam timers, instant score analysis, and all-India ranking.
Chapter Practice
Practice C Programming MCQs →Want more practice questions on C Programming?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer · C Programming