3 ms·
The length doesn't really need to be explicit because it's available through sizeof, although I guess that having to divide by the element size makes that a lit
by caf 8y ago
The length doesn't really need to be explicit because it's available through sizeof, although I guess that having to divide by the element size makes that a little inconvenient.
Maybe you could do something like arr->[i] as sugar for (*arr)[i]?