#include <iostream> int main() { std::cout << "1 : " << 1 << "\n'1': " << (int)'1' << '\n';}
Standard input is empty
1 : 1 '1': 49
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!