#include <iostream> int main(){ double x; double y = 0; std::cout << x << std::endl; std::cout << y/y;}
Standard input is empty
0 -nan
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!