News for hackers. Stuff that matters.
Re:“:-!!” what is it in c code? by jacquesm on Sunday March 11, 2012 @05:50PM (#3691395)
You are right about it starting on 41, but chances are that that is its intended behavior, with a bit of context that is more clear:

  #define ARRAYSIZE 42

  int array[ARRAYSIZE];

  void f() {
     for (i=ARRAYSIZE; i --> 0;) {
       printf("%d\n", array[i]);
     }
  }
If it were to start at 42 you'd be referencing the array outside of its bounds.

There are no comments on this comment yet.