#include <iostream> void foo( int a = std::rand()){ std::cout << a << std::endl;} int main( void ){ foo(); return( 0 );}
Standard input is empty
1804289383
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!