3 ms·
You have to allow pointers and arrays to overlap. Just to name one of tons of examples, you couldn't write the callback compar(a, b) to qsort() without it: the
by pcwalton 11y ago
You have to allow pointers and arrays to overlap. Just to name one of tons of examples, you couldn't write the callback compar(a, b) to qsort() without it: the two pointers a and b are part of the same array and therefore a[1] might legally alias b[0], for example.
There is something to controlling aliasing, though. It basically leads you to Rust's (or ISO Core C++ with lifetime profile) memory model. :)