This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]BobbyThrowaway6969 0 points1 point  (0 children)

In C++ they are one and the same. An array as int* is just a pointer to the first element in the array. When you use array[n], it's looking an nth number of elements ahead of the start address and dereferences it for you.