+ 1

c

y = (x >= 5) ? 5 : x; (this is a conditional expression used in c given in c sololearn course) will this conditional expression also work with c++ ?

5th Jul 2019, 8:10 AM
Aman
Aman - avatar
1 Odpowiedź
+ 2
Yes it will
5th Jul 2019, 8:17 AM
Agent_I
Agent_I - avatar