answersLogoWhite

0


Best Answer

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

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: A equals 10 b equals a plus plus plus plus plus a?
Write your answer...
Submit
Still have questions?
magnify glass
imp