[Solved] What is the “


It’s the left shift operator. It shifts the value left by 2 bits, effectively multiplying it with 2 to the power of 2 (the shift amount).

a << b

Is the same as:

a * (2 to the power of b)

3

solved What is the “<<" operator in C++? [closed]