CJCoding With Joseph
← Back to Question List

Select topics to narrow your question pool, then enable Random to jump to a random question matching your filters.

Topics:
C# Quiz #31

Ternary Operator Result

easyConditionals

What does this code print?

📄 Code

1int x = 5;
2string s = x > 3 ? "big" : "small";
3Console.WriteLine(s);