Which of the following operator takes only integer operands?
+
*
/
%
Answers
Answered by
2
the modulus operator takes only integer operator
the last one
hope it helps uuuu pls mark me brainliest
Answered by
2
The modulus operator(%) takes only integer operands. Hence, Option(d) is correct option.
- + operator adds two operands.
- * operator multiplies two operands.
- / operator divides two operands.
- The % operator is a modulus operator which gives the remained when one operand is divided by a second. The remainder is only found when 2 integers are divided and the remainder is also an integer. Therefore it requires only integer operands
Similar questions
Physics,
6 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
Math,
1 year ago
Math,
1 year ago
Math,
1 year ago