A=(a + a + b) + (+ a + b) + (a + a + b);
Printf (" % d % d, a, b);
Why the output is 37, 13
The big solution
CodePudding user response:
This is not a should be equal to 36Using vc6.0
CodePudding user response:
Not 36, 13?CodePudding user response:
This has to do with the compiler, some compilers may even add b three times since the first and then to get the value of the expression, b is 13, and then prints out39 13
With this meaningless, don't write the code,,,
CodePudding user response:
It is a school presentation on the topic of the computer output is 37, 13Our own count is 36, 13
CodePudding user response:
I hope it can help you: https://blog.csdn.net/it_xiangqiang/category_10581430.htmlI hope it can help you: https://blog.csdn.net/it_xiangqiang/category_10768339.html