[ create a new paste ] login | about

Link: http://codepad.org/Vrg53QAL    [ raw code | output | fork ]

C, pasted on Jun 5:
1
2
3
4
5
6
7
8
9
10
11
12
#include <stdio.h>

int i = 10;

int main(){
	if(i){
		printf("%d\n", i--);
		main();
	}
	
	return i;
}


Output:
1
2
3
4
5
6
7
8
9
10
10
9
8
7
6
5
4
3
2
1


Create a new paste based on this one


Comments: