+ 1
Which is faster accessible array of N number or N no of variables of same type as of array in a loop ?
Time dependency of variables usage.
4 Réponses
+ 1
N no of Array means multiple Array and array of N number means single array. So think which will be faster.
0
I think array of N number is faster to access than the N seperate variables. Because of the continuous memory allocation . Correct me if I am wrong.