posted 15 years ago
Hi there,
I have a problem to understand this:
the output is 14.
Now my problem here is that LINE 1 can be written as
c = c * a + b
Here now "*" has a higher priority as "+"
and the result must be
c = (2 * 3) + 4
c = 10
Why is it 14?
Or does
c *= a + b;
c = c * a + c * b;
c = c * (a + b);
?
Thanks in advance.
Ciao,<br /> Tommaso<br /> <br />~*~*~*~<br />There are 10 types of people, those who understand binary and those who don't.