[Solved] Shift Operator (


Binary representation of 1 is 00000000000000000000000000000001

1 << 17 will move the last 1 in the binary representation 17 places left, which will result in 0000000000000100000000000000000, which when converted back to decimal results is 131072

solved Shift Operator (<<) Explanation [duplicate]