fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. unsigned char b = 0xD8;
  6. char a = (signed char)b;
  7. cout << a <<" ' "<< b;
  8. system("pause");
  9. return 0;
  10. }
  11.  
Success #stdin #stdout #stderr 0s 4184KB
stdin
Standard input is empty
stdout
� ' �
stderr
sh: 1: pause: not found