3 ms·
The left operand is an int, so the result of the shift expression is an int. The fact that the shift expression is used to initialize a long is not relevant.
by DerekL 15y ago
The left operand is an int, so the result of the shift expression is an int. The fact that the shift expression is used to initialize a long is not relevant.