Examveda

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

Answer: Option D


Join The Discussion

Related Questions on Operators and Expressions in C Sharp