Home » C Programming » Expressions

Which of the following is the correct order of evaluation for the below expression? z = x + y * z / 4 % 2 - 1

Correct Answer: * / % + - =

Explanation:

C uses left associativity for evaluating expressions to break a tie between two operators having same precedence.

← Previous Question Next Question→

More Questions from Expressions

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion