Computer Science, asked by Vaishvi8403, 1 year ago

Which of the following operator takes only integer operands?
A.+
B.*
C./
D.%

Answers

Answered by maahi1818
5
Hey mate

Option D is the right answer


Explanation --- Two integers are taken to be input
Answered by kavyapsynergy
0

% operator takes only integer operands

Modulo operator %

  • The modulo operator is an arithmetic operator indicated by %. The remainder of an integer division is formed by the modulo division operator.
  • The modulus operator finds the remainder of the integer by dividing the numerator by the denominator. The residual is always a single integer number.
  • When we want to compare a number to the modulus and get the equivalent number confined to the Modulus range, we use the modulo operator.

Similar questions