+ 1
How does % operator works?
4 Answers
+ 3
It will return remainder of that expression like
9%5=4
+ 2
It gives a remainder when two integers are divided
+ 1
It is called the modulo operator. It calculates the remainder of a division. Example: 13%4 is 1 since 4*3+1=13.
0
Thanks guys!