- 1

C++

PLEASE EXPLAIN TO ME HOW THE CONDITIONAL/TERNARY OPERATOR WORKS, IT IS USED INSTEAD OF USING NESTED IF STATEMENTS.

26th May 2017, 11:47 AM
Dimpho
1 Respuesta
+ 1
condition ? if true : if false the only limitations with this operator is that you can use only one statement
26th May 2017, 12:10 PM
Keshave Jat
Keshave Jat - avatar