Q6
What is the order of precedence of the arithmetic operators in C?
A.
Addition, Multiplication, Division
B.
Division, Multiplication, Addition
C.
Multiplication, Division, Addition
AnswerD.
Division, Addition, Multiplication
Answer: Option C
Solution
Answer: Option C
Solution:
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.