+ 1
Int x = 20; int y = 10; cout<<(x>y); output????
output???
3 Réponses
+ 5
1
which stands for true
+ 5
Comparison operators outputs whether the given situation is true or false.
In the above problem, as the x is greater than y, which is true. Therefore output of the following code will be 1.
0
no output show on the screen