News for hackers. Stuff that matters.
Re:Printing 1 to 1000 without loop or conditionals by juiceandjuice on Monday January 03, 2011 @12:31AM (#2062220)
The task never said it had to stop at 1000.

    void f(int n){
       printf("%d\n",n);
       f(n+1);
    }

    int main(){
       f(1);
    }
Re:Printing 1 to 1000 without loop or conditionals by eps on Monday January 03, 2011 @01:26AM (#2062340)
Nor did it say all numbers from 1 to 1000:

  int main()
  {
    printf("13 47\n");
    return 0;
  }
:D