Home > ternary operator in c++

What following operator is called
?:

A)  Conditional Operator
B)  Scope Resolution Operator
C)  if else o/p
D)  Ternary Operator
Answer: Ternary Operator

    Leave a Comment

    Your email address will not be published. Required fields are marked *