fork download
  1. #include <iostream>
  2. #include <string>
  3.  
  4. int main(void)
  5. {
  6. int32_t first = 0x00620061;
  7. int32_t second = 0x7A007700;
  8. int32_t combined = first | second;
  9. std::string s(reinterpret_cast<const char*>(&combined), 4);
  10. std::cout << s << std::endl;
  11. }
Success #stdin #stdout 0.01s 2856KB
stdin
Standard input is empty
stdout
awbz