programming faqs interview questions tech technical educational freshers guide preparation interviews hr telephonic
try another color:
try another fontsize: 60% 70% 80% 90%
Programming FAQs

what is ternary operator ?

Ternary operator works same

Ternary operator works same as IF- ELSE

(Condition)?(true)(statement):(false))statement2;

checks the condition if it is true it executes the statement , else it executes the statement2