1.

What is this operator called ?:?(a) conditional(b) relational(c) casting operator(d) unrelationalThe question was posed to me during an online exam.I would like to ask this question from Operators topic in chapter Functions, Namespaces & Exceptions in C++ of C++

Answer» RIGHT OPTION is (a) conditional

To explain: In this operator, if the condition is true MEANS, it will return the first operator, otherwise second operator.


Discussion

No Comment Found

Related InterviewSolutions