int factorial(int 5){ int res=1; for(int i=5;i>0;i--){ res *= i; } return res;}
Standard input is empty
./prog.factor 1: int factorial(int 5){ ^ No word named “int” found in current vocabulary search path
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!