NIELIT O Level Exam

Among the following, which one is a ternary operator?

Among the following, which one is a ternary operator?

निम्नलिखित में से कौन एक टर्नरी ऑपरेटर है?

A. +

B. :

C.

D. ?:




Correct Answer is :

D. ?:



Explanation
JavaScript supports one ternary operator, the conditional operator ?:, which combines three expressions into a single expression. If else case can be replaced by the conditional operator
Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad