What is the modulus operator?

4 years ago
C Programming

The modulus operator outputs the remainder of a division. It makes use of the percentage (%) symbol. For example: 10 % 3 = 1, meaning when you divide 10 by 3, the remainder is 1.

0
Sanisha Maharjan
Jan 20, 2022
More related questions

Questions Bank

View all Questions