auto foo(int i) { if( i == 1 ) return i; else return foo(i-1)+i ; } int main(){ }
Standard input is empty
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!