What is a modulus operator? What are the restrictions of a modulus operator?

A Modulus operator gives the remainder value. The result of x%y is obtained by(x-(x/y)*y). This operator is applied only to integral operands and cannot be applied to float or double.

## What is a modulus operator? What are the restrictions of a modulus operator?

## Answer Question

Click here to Login / Register your free account

## Related Answered Questions

## Related Open Questions