#include #include "func1.h" int recursive(int start, int stop); int main(int argc, char **argv) { int zero = 0; for(int i = 0; i <= 20; ++i) { int tmp = func1(i); printf("Stelle: %d Wert: %d\n", i, tmp); if(tmp == 0) ++zero; } printf("Nullstellen: %d\n", zero); recursive(0, 20); } int recursive(int start, int stop) { if(start <= stop) { recursive(start + 1, stop); printf("Stelle: %d, Wert: %d\n", start, func1(start)); } return 0; }