Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - The operation method of looking up expressions in C language
The operation method of looking up expressions in C language
1. Attention

Abc is an integer, and the result of integer operation should also be rounded off.

a/b+0.4

Precisely

8/5+0.4

That is 1+.04= 1.4.

, assigned to c, c is an integer rounded to 1.

2.

+=

,-=

,

*

Three operations, the first time *

Do it again-=

Then+=, the equal sign goes from right to left.

A*a is 9.

So a+=a-=9

A-=9。 The result is that A is -6.

So a+=a is a+=-6.

Note that A is -6, which adds up to it.

- 12