#include void Test(void); int main() { int i; for (i = 0; i < 3; i++) Test(); return 0; } void Test(void) { static int Anzahl = 0; /* wird nur beim 1. Aufruf auf Null gesetzt! */ Anzahl++; printf("Anzahl = %i\n", Anzahl); }