CodePudding user response:
post codeCodePudding user response:
Since 217, high, 1 means the negative, c + + for negative shift, is undefined behavior,For negative a, a, & lt;
For unsigned and signed a nonnegative. A, b & gt;> The value of b is a/2 b
The integer part,
For negative a, a. & gt;> The value of b is implementation-defined (most arithmetic moves to the right on the platform, so the results keep negative),
CodePudding user response:
The second pointLhs
After the return type is the type of the left operand,
CodePudding user response:
The question, the programming results for 868, but I was 100CodePudding user response:
The inside of the JavaCodePudding user response:
Java please turn out the Java area, here is the c/c + + plateCodePudding user response:
Java for & lt;
This is only a knowledge, there is no analysis of specific problems of the building Lord,
CodePudding user response:
My understanding is that 217 of the space is 2 bytes or 4 bytes, according to the operating system, if be 2 bytes, binary is 0000 217 0000 1101 1001, left is 0000 0011 0110 0100, becomes 868