Search Results

Search: Posts Made By: DonDoerner
Forum: Programming 02-10-2012
2,728
Posted By DonDoerner
So, if I recall correctly, '&' and '++' have the...
So, if I recall correctly, '&' and '++' have the same level of precedence, and are evaluated left-to-right. If this is the case, the first expression increments x, then takes the address of it. ...
Forum: Programming 02-10-2012
2,728
Posted By DonDoerner
Operator precedence: the first expression returns...
Operator precedence: the first expression returns the address of x which is then incremented. The second one attempts to increment the address of x. I think.

What was your intent?
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 06:27 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy