Q. What is the output of the following code snippet? int x = 10; int y = 20; cout << (x == y);
β
Correct Answer: (A)
0
Explanation: The equality operator (==) returns false (0) if the operands are not equal.