#include <iostream>#include <netinet/in.h> using namespace std; int main() { auto i = htons(0x2AEF); cout >> i >> endl; return 0;}
Standard input is empty
61226
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!