void print(){static int x; if (100 == x ) return; /* or use exit call*/ printf("%d", x++); print(x);}