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
CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad