int i; /* Iterates over everything except the last n elements of array... right? */ for (i = 0; i < length - innocent_little_function(); i++) do_something_with(array[i]);
A function call in a for loop's conditional doesn't fit your definition of wacky?
I probably should have used sizeof, even though that doesn't make sense there.