What is the result of the expression 9 % 4 in C#?
A. 2.25
B. 2.5
C. 3
D. 2
Answer: Option D
Related Questions on Operators and Expressions in C Sharp
What does the modulus operator (%) do in C#?
A. Increments the operand by 1
B. Returns the quotient of a division
C. Performs multiplication
D. Returns the remainder of a division
Join The Discussion