fork download
  1. #include <iostream>
  2.  
  3. int main()
  4. {
  5. std::cout << "'\\x01\\x00' = " << '\x01\x00' << std::endl;
  6. std::cout << "'\\x01\\xAF' = " << '\x01\xAF' << std::endl;
  7.  
  8. return 0;
  9. }
  10.  
Success #stdin #stdout 0s 15224KB
stdin
Standard input is empty
stdout
'\x01\x00' = 256
'\x01\xAF' = 431