Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: The NCCE has postincrement, so the CS needs to use i, not i + 1. Perhaps a good argument for this recommendation.

...

Code Block
bgColor#ccccff
int i;
int max;

if ( (i >= 0 && (i + 1) <= max) ) {
  i++;
  /* code */
}

...