+ 2
What is the output
a=10; b=20; a==b?cout<<"are not equal":(b>a?cout<<a:cout<<b);
5 Answers
+ 2
tq u
+ 1
V1nod try and check it on code playground... feel free to ask if you get doubt
+ 1
Your first cout should say "are equal", since the first statement is executed if the condition is true
0
output is 10, however im not sure you can use cout in that question mark thingy