#include<stdio.h> int fact() { static int i=5; printf("%d\n",i); if(i==0)return 1; else { i--; printf("%d\n",i); return(i+1)*fact(); } } void main() { printf("fact=%d\n",fact()); }