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