ExamVeda
Login
Home
Operators and Expressions
?

What is the result of the expression 10 - 5 * 2 in C?

Answer & Solution
Correct Answer: Option C
In C, arithmetic expressions follow the order of precedence, where multiplication and division have higher precedence than addition and subtraction. Therefore, in the expression 10 - 5 * 2, the multiplication (5 * 2) is performed first, resulting in 10 - 10, which indeed equals 0.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.