Showing posts with label Operator Precedence. Show all posts
Showing posts with label Operator Precedence. Show all posts
Friday, 28 October 2011
Is left-to-right or right-to-left order guaranteed for operator precedence?
The simple answer to this question is neither. The C language does not always evaluate left-to-right or right-to-left. Generally, function calls are evaluated first, followed by complex expressions and then simple expressions. Additionally, most of today’s popular C compilers often rearrange the order in which the expression is evaluated in order to get better optimized code. You therefore should always
Subscribe to:
Posts (Atom)