answersLogoWhite

0

In C/C++, this code

int a = 5;

return a+++++a;

leads to error. However, writing

int a = 5;

return (a++ + ++a);

returns 12. Note that in other languages "a=5; a+++++a" leads to different results :)

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

What is the value of a plus b if a equals -7 and b equals 10?

3


9b plus 40 equals 13b what is the answer to that?

b= 10


What is the answer to 3b plus 8 equals -10?

b = -6


8 squared plus b squared equals 18 squared?

8^*2) + b^(2) = 18^(2) Algebraically rearranger b^(2) = 18^(2) - 8^(2) Remember two squared terms with a negative (-) between them factors to b^(2) = (18 - 8)( 18 + 8) b^(2) = 10( 26) b^(2) = 260 b = +/- sqrt(260) b = +/- 16.124....


What is the value of a plus b equals -7 and b equals 10?

We are given that a + b = -7 and b = 10 Therefore a +10 = =7 Subtract 10 from each side So a + 10 - 10 = -7 + 10 Which simplifiesn to a = 10 - 7 So a = 3


What is b. b over 5 plus b over 3 equals 10?

If: b/5+b/3 = 10 then b works out as 18.75


B equals 10 plus a solve for a?

Not enough information to solve


A plus b plus c plus d plus e equals 30 where c plus e equals 14 and d equals b plus 1 and a equals 2b-1 and a plus c equals 10 find values of letters?

a+b+c+d+e = 30 (i) c+e = 14 (ii) d+b = 1 (iii) a = 2b-1 (iv) a+c = 10 (v) By (i)-(ii)-(iii): a = 15 then, by (iv): b = 8 and by (v): c = -5 Also, b = 8 so by (iii): d = -7 and then by (i), e = 19


If a plus b equals c and b plus c equals d and c plus d equals e and a equals 7 and e equals 5 what is a plus b plus c plus d plus e equal?

the answer is a


CAN 0 plus equals B plus equals B?

Yes because if 1+0=1 than 0 plus b equals b


If a plus b equals 40 b plus c equals 34 and a plus c equals 42 what does b equal?

a=24 b=16 c=18


If a plus b plus c not equal to 0 then a divided by b plus c equals b divided by c plus a equals c divided by a plus b prove that a equals b equals c?

Because there is no way to define the divisors, the equations cannot be evaluated.