Last week I heard about a weird behaviour of a C++ program on Twitter. The code is: #include<iostream>intmain() { while (1); } voidunreachable() { std::cout <<"wait... WHAT?!"<< std::endl; } Pretty simple, right? Two functions, one infinite loop, and the unreachable function that is never called… As you might expect the program will run until the user forces the program to quit, without any standard output, no catch at all.