Just a little insight into arrays in C/C++:
An arrray is in essence just "syntactic sugar" for pointer-arithmatic.
If you have for example defined an array of 4 integers,
int a[4] = { 42, 43, 44, 45 };
the symbol 'a' is internally just a pointer to the first element.
Using the index-operator...