#include <stdio.h>void f1(int a){ if(a>0) f1(a/2); printf("%d",a%2);}int main(){ f1(12345); return 0;}
Standard input is empty
011000000111001
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!