Modulus Operator

##### Title

##### Question

How to use Modulus Operator?

C-and-Cpp Arithmetic-Operators 05-06 min 20-30 sec

__Answers:__

If we want to calculate remainder then we should use modulus operator.It is denoted as %.For example if we want to find the number is even or odd the we find that by using %.

number%2==0

Login to add comment