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. Source: CoolInterview.com
A Modulus Operator % return the Remainder of any Integer Division. It does't return any Float Value(Only the integer Value) Restrictions-This Operator can be operate with Integers only. Source: CoolInterview.com