Discussion on ++ in C ++

zhaozj2021-02-16  76

One. Research on N to {INT NTEST = 1; int NTWO = ( NTEST) ( nTest) ......} NTEST = 2 for this calculation first NTEST, then NTEST = 3 of NTEST calculated, in the second calculation, the first calculation result is rolled out, then add 4, the following calculation is the same as the general understanding.

two. Research on N is {Int ntest = 1; int NTWO = (NTEST ) (NTEST ) ......} This type of priority is high. In the calculation, use NTEST = 1, and it is added to calculate . three. Study on mixing of N and N {INT NTEST = 1; int NTWO = (NTEST ) ( nTest) ..... You can see that there is n in both parentheses Calculation N then calculate other.

four. The calculation of N only allows ( N) calculations to see that N is the return value. And N does not return value, it can't be used (N )

Complete. We have the lowest of N priority, and for n priority, we calculate N with and N , then calculate other.

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

New Post(0)