0

What is modulus in c++

I don't know what is modulus. can you tell me please?

13th Jul 2018, 1:39 PM
VC Gameplays
VC Gameplays - avatar
1 Answer
0
Do you mean modulus operator? Its % sign. It gives you remainder of a division Ex - int var = 10%3; cout << var; //output 1
13th Jul 2018, 1:57 PM
Akib
Akib - avatar