fork(1) download
  1. #include <iostream>
  2.  
  3. int main()
  4. {
  5. char ch = 256;
  6. std::cout << ch << std::endl;
  7. printf("%d\n", ch);
  8. std::cout << (int)ch << std::endl;
  9. return 0;
  10. }
Success #stdin #stdout 0.01s 2724KB
stdin
Standard input is empty
stdout

0
0