In C, accessing my array index is faster or accessing by pointer is faster?

前端 未结 8 954
忘了有多久
忘了有多久 2021-01-04 06:33

In C, accessing an array index is faster or accessing by pointer is faster? By faster I mean, which one would take less clock cycle. The array is not an constant array.

8条回答
提交回复
热议问题