Question: What will the following code output?int x = 10;
if (x > 5) Console.WriteLine("Greater");
else Console.WriteLine("Smaller");
A
B
C
D
Greater
B
Smaller
C
10
D
Error
Note: The condition x > 5 is true, so "Greater" is printed.