Remix.run Logo
messe an hour ago

Nope, a[b] is equivalent to *(a + b) regardless of a and b.

sureglymop an hour ago | parent [-]

Given that, why don't we use just `*(a + b)` everywhere?

Wouldn't that be more verbose and less confusing? (genuinely asking)

tomsmeding an hour ago | parent [-]

Do you really think that `*(a + i)` is clearer than `a[i]`?