#include counter() { static int c = 0; return ++c; } main() { int i; for (i = 1; i <= 5; i++) printf("%d\n", counter()); exit(0); }