logoalt Hacker News

messetoday at 2:22 PM1 replyview on HN

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


Replies

sureglymoptoday at 2:29 PM

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

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

show 1 reply