I don't think it's measurably different, but contrary to popular wisdom, I'm going to tell you to use != rather than > or < on the grounds that the former is a more general operation, and if you were going to convert your code to C++ and use iterators instead of pointers, not all iterators would support < or > (but all of them would support !=).