source file name: recurfn.C 

#include<stdio.h>

int n=10;

int  main()

{

if(n>0)

{

printf("%d ",n);

n--;

main();

}

return 0;

}

output:

10 9 8 7 6 5 4 3 2 1