The cast must be made before the shift. If int has 16 bits, the shift would zero the value and the cast would cast 0 to 0.
16 KiB
16 KiB
The cast must be made before the shift. If int has 16 bits, the shift would zero the value and the cast would cast 0 to 0.