fork download
  1. #include <iostream>
  2.  
  3. int main()
  4. {
  5. std::cout << "1 : " << 1 << "\n'1': " << (int)'1' << '\n';
  6. }
Success #stdin #stdout 0s 3340KB
stdin
Standard input is empty
stdout
1  : 1
'1': 49