Vidyalelo
C# Programming · Q9

Control Flow Statements in C Sharp

Programming · C# Programming · question 9

Q9

What is the result of the expression 10 % 2 == 0 ? "Even" : "Odd" in C#?

A.
10 % 2 == 0 ? "Even" : "Odd"
B.
10 % 2 == 0 ? Even : Odd
C.
Even
Answer
D.
Odd

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board