1

c = (n) ? a : b; can be rewritten asexp1 ? exp2 : exp3;

Correct Answer: if(n){c = a;}else{c = b;}

Make the most of this question

This page focuses on one C Programming MCQs question from Programming. After checking the answer, return to the topic list to practice more or run a timed set.

C Programming MCQs MCQ: c = (n) ? a : b; can be rewritten asexp1 ? exp2 : exp3; | Extra Education