fork download
  1. #include <iostream>
  2. #include <cstdint>
  3. int main()
  4. {
  5. std::uint32_t n = 1;
  6. std::cout << (n << 31) << '\n'
  7. << (n << 32) << '\n';
  8. }
Success #stdin #stdout 0s 2852KB
stdin
Standard input is empty
stdout
2147483648
0