int main(){ int fac(int i); int i; for(i = 1; i <= 5; i++) printf("%d!=%d\n", i, fac(i)); return 0; } int fac(int i){ static int sum = 1; sum = sum * i; return sum; }