+ 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++ ?
1 Resposta
+ 2
Yes it will
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++ ?