ExamVeda
Login
Home
Operators and Expressions
?

What is the result of the expression (6 - 2) * (1 + 2) in C?

Answer & Solution
Correct Answer: Option A
In C, arithmetic expressions follow the order of operations (PEMDAS/BODMAS), where parentheses have the highest precedence. Therefore, the expression (6 - 2) is evaluated first, resulting in 4, and (1 + 2) is evaluated as 3. Then, these results are multiplied: 4 * 3, which equals 12
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.