+ 1
I have a problem in the ternary operator
Guys I am not understanding how the ternary operator (?)executes a statement.
3 Answers
+ 5
It is just a one-liner if-else statement
Of course if you are confused, just use an if-else statement
+ 3
(condition) ? (expression if true) : (expression if false);
0
hi bro can you help me in c++? i have to create a code that " to find a minimum of the massive" and " to find a maximum of the massive" but the code have to be possess " cin>>"