#include <iostream> int main() { int x = 4; std::cout << (x ^ 2); // Prints 6 }
Standard input is empty
6
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!