0
What is modulus in c++
I don't know what is modulus. can you tell me please?
1 Réponse
0
Do you mean modulus operator?
Its % sign.
It gives you remainder of a division
Ex -
int var = 10%3;
cout << var; //output 1
I don't know what is modulus. can you tell me please?