What is the order of precedence of the arithmetic operators in C?
A. Addition, Multiplication, Division
B. Division, Multiplication, Addition
C. Multiplication, Division, Addition
D. Division, Addition, Multiplication
Answer: Option C
Solution(By Examveda Team)
In C, the arithmetic operators have a specific order of precedence. Multiplication has the highest precedence, followed by division, and then addition and subtraction. This order ensures that expressions are evaluated in the correct mathematical order.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