← Back to Question List
C# Quiz #31
Ternary Operator Result
What does this code print?
📄 Code
1int x = 5;2string s = x > 3 ? "big" : "small";3Console.WriteLine(s);
What does this code print?
1int x = 5;2string s = x > 3 ? "big" : "small";3Console.WriteLine(s);