Does the () take precedence over the pre increment or not?Code:#include <stdio.h> void main() { float a = 4, b = 4, c = 8; a = (a + c) / ++c; printf("\n a = %f", a); }
In some text books the () appears higher up in the table of precedence.
I ran this program in VS 2003 and I got 1.444, which is 13 / 9.
Why don't I get (12) / 9 if the parens come first?