2.11 assignment operator

xiaoxiao2021-03-06  60

Assignment is an operator, its priority is lower than any of the operators we currently mentioned, and the combination is from right to left. Carefully analyze the meaning and results of the following two expressions:

A = (b = 2) (c = 2); a = b = c = 0;

Other assignment operators are on page 31 in the book. There is another error below, it is: "Just if" variable "itself is an expression, it will only be calculated once." Where the Variable should be Expression. There is also a mistake below ... dizzy, how many mistakes: "J * (k = (m 5))" should be "j * = (k = (m 5))" with Eclipse Ctrl Shift F can format the code, which is much easier than you control the code format. I have set my favorite format in Eclipse.

转载请注明原文地址:https://www.9cbs.com/read-84125.html

New Post(0)