- 1
C++
PLEASE EXPLAIN TO ME HOW THE CONDITIONAL/TERNARY OPERATOR WORKS, IT IS USED INSTEAD OF USING NESTED IF STATEMENTS.
1 Respuesta
+ 1
condition ? if true : if false
the only limitations with this operator is that you can use only one statement
PLEASE EXPLAIN TO ME HOW THE CONDITIONAL/TERNARY OPERATOR WORKS, IT IS USED INSTEAD OF USING NESTED IF STATEMENTS.