Modulus operator, %, can be applied to which of these?
A. Integers
B. Floating – point numbers
C. Both Integers and floating – point numbers.
D. None of the mentioned
Answer:C
Modulus operator, %, can be applied to which of these?
A. Integers B. Floating – point numbers C. Both Integers and floating – point numbers. D. None of the mentioned
Explanation: Modulus operator can be applied to both integers and floating point numbers. .