Single Choice Moderate

Q% operator returns:

ID: #25826 MCQ Quiz - Class 8 - Programming 6 views
Question Info
#25826Q ID
ModerateDifficulty
MCQ Quiz - Class 8 - ProgrammingTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A Remainder
  • B Quotient
  • C Sum
  • D Difference
Correct Answer

Explanation

Correct Answer Explanation:

The % (modulo) operator returns the remainder of division. E.g., 10 % 3 = 1 (10÷3 leaves remainder 1).

Why the other options are incorrect:

  • Option B: Quotient uses / operator.
  • Option C: Sum uses + operator.
  • Option D: Difference uses - operator.

Share This Question

Challenge a friend or share with your study group.