Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - Several simple C language topics
Several simple C language topics
1. This is the counting method of our mathematical science. The integer part is decimal, and the exponential part cannot have decimal. Just check the answer. And we will not write 123 as 0. 123x 10 3. That's why we choose B instead of C.

2. Actually, it may be the wrong topic.

3.3ab, without this writing, in C language, multiplication must have an * sign. The remainder operation can only be an integer. The operator symbol in C is only (), not [].

4.c-=b+=c*c, which is to be calculated step by step. First calculate that b+=c*c equals B+C * C, then you can get B = 8+10x10 =108; C-=b is equivalent to C-B, so it is equal to 10- 108=-98. So the answer is:

The value of the expression is -98, b = 108 and c =-98.

There is an error in the sixth line. The maximum subscript of array A is 2.

6.a exceeds the number of plastic labels. The system does not specify an initial value for the variable. The value of integer division is slightly shaped, so the answer is 0.

7.a is an empty sentence, ok. B does not end with a semicolon, so it is not a statement. C macro definitions do not need semicolons. Item d is also missing a semicolon.