Search code examples
binarybinary-operators

Binary operation 100 * 2 << 20


I'm trying to find an explanation for the left operand operation. How much is it in decimal: 100 * 2 << 20 ?


Solution

  • It works like that : a << b means a * 2 ^ b