fork download
  1. #include <iostream>
  2.  
  3. int main()
  4. {
  5. const char c = 'A' ;
  6. std::cout << +c << ' ' << int(c) << ' ' << (int)c << ' ' << (int)(c) << '\n' ;
  7. }
  8.  
Success #stdin #stdout 0s 2896KB
stdin
Standard input is empty
stdout
65 65 65 65