ExamVeda
Login
Home
Operators and Expressions
?

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.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.