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 expression (x / y) evaluates to 0 because both x and y are integers.