![]() |
b++ is an operation on b or is it an evaluation of b
Here is what I understood
Code:
c=a+b-c;Now in the following code : Code:
a=++b/c*d;So does it mean that in such cases, where pre and post increment operators are involved, the priority does decide at least some part of the order of evaluation of the expression (AS EVALUATING OPERANDS HERE INVOLVES AN OPERATION ON THEM, WHICH IS CONTROLLED BY PRIORITY AND ASSOCIATIVITY ? In essence, it boils down to : Is ++b treated as an operation on b or as an evaluation of b ? |
| All times are GMT. The time now is 06:19 AM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.