Why is it possible to switch address and offset when accessing an element of an array in C?

前端 未结 0 1065
广开言路
广开言路 2021-01-30 23:47

As far as I know, you can always access the i-th element of an array a both with a[i] and i[a]. This makes sense for arrays of chars, since their byte-size is 1. But for arrays

相关标签:
回答
  • 消灭零回复
提交回复
热议问题