Solved

Which of the Following Is True Regarding the Mod Operator

Question 1

Multiple Choice

Which of the following is true regarding the mod operator, %?


A) It can only be performed on int values and its result is a double.
B) It can only be performed on int values and its result is an int.
C) It can only be performed on float or double.values and its result is an int.
D) It can only be performed on float or double.values and its result is a double.
E) It can be performed on any numeric values and its result is always numeric.

Correct Answer:

verifed

Verified

Related Questions