What does the modulus operator (%) do in C++?
A. Returns the remainder
B. Returns the quotient
C. Returns the sum
D. Returns the product
Answer: Option A
Related Questions on Operators and Expressions in C plus plus
What is the operator precedence of the multiplication operator (*) in C++?
A. Highest
B. Lowest
C. Equal to addition
D. Equal to subtraction
Join The Discussion