perry753
public c v1 · immutable// Review// Perry Huang// 10/22/07#include <stdio.h>#define PRINT puts("\nhi")int sfunction(int);int main() { int var1 = 500; int count1, count2, count3; PRINT; PRINT; count1 = sfunction(var1); printf("%i\n", count1); count2 = sfunction(var1); printf("%i\n", count2); count3 = sfunction(var1); printf("%i\n", count3); PRINT; return 0;}int sfunction(int var2){ static int count = 0; printf("%i\n", var2+1); ++count; return(count);}