0
Which one is faster pointer or array?
Why ?
3 odpowiedzi
+ 5
Pointers are faster than arrays
https://stackoverflow.com/questions/7261010/what-makes-pointers-faster-than-arrays
0
Arrays are just converted to pointers type.
suppose a[4] is converted to *(a+4) at the time of compilation. So there will be time delay of use arrays rather than pointers but that time delay is negligible.