CJCoding With Joseph
15free / daySign inCreate account
Back to Multiple Choice Quiz

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

Topics

Ternary Operator Result

C# quiz · Question 31
easyConditionals

What does this code print?

Code

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