+ 1
What does % mean in C++
Someone explain pls
2 Respuestas
+ 3
The % sign means the modulo operator. If you have the numbers 7 and 2 and you do 7%2, the result will be 1. Why? Because the modulo operator returns the remainder of the division. 7 / 2 = 3 remainder 1. So 7%2=1.
+ 1
its modulo. if you went through the courses, you should know this.