Which operator is used for modulus division in C?
A. %
B. /
C. *
D. &
Answer: Option A
Solution(By Examveda Team)
In C, the % (modulo) operator is used for modulus division. It calculates the remainder when one number is divided by another.Option B (/) is incorrect as it represents regular division.
Option C (*) is incorrect as it represents multiplication.
Option D (&) is incorrect as it represents the bitwise AND operator, not modulus division.
Related Questions on Operators and Expressions
What does the ++ operator do in C when applied to a variable?
A. Decrements by 1
B. Adds 1
C. Doubles the value
D. Leaves it unchanged
Join The Discussion