4 ms·
they really aren't identical in the general case - this is a mistake on the part of the author. trivially consider the case where i overload operator[]...
by jheriko 13y ago
they really aren't identical in the general case - this is a mistake on the part of the author. trivially consider the case where i overload operator[]...
- CJefferson 13y agoYes, this is more of an obscure C feature (they are exactly the same in all cases in C, the standard defines a[b] as *(a+b)), which is inherited by C++.