4 ms·
> One more thing; The article should have mentioned "pointer increment" which has nothing to do with "+= 1". What do you mean? ++ptr is perfectly equivalent to
by kbp 10y ago
> One more thing; The article should have mentioned "pointer increment" which has nothing to do with "+= 1".
What do you mean? ++ptr is perfectly equivalent to ptr += 1, for any pointer type.
- deleted 10y ago[deleted]
- chelahmy 10y agoI read it as integer arithmetic. It is semantically different from pointer arithmetic.