?
What is the result of the expression 5 % 3 in C?
Answer & Solution
Correct Answer:
Option
A
In C, the % (modulo) operator is used to calculate the remainder when one number is divided by another. In the expression 5 % 3, it calculates the remainder of dividing 5 by 3, which is 2.
Join the Discussion
Login to post a comment or share your explanation.
Login