4 ms·
Since one can add to and subtract from a pointer, it is only natural to be able to compare them. And the standard clearly states pointers can be compared, altho
by jerome-jh 6y ago
Since one can add to and subtract from a pointer, it is only natural to be able to compare them. And the standard clearly states pointers can be compared, although it requires the two pointers to point to the same array (or last element+1) or to the same structure.