int sampleArray[] = {1,2,3,4,5};
I understand that the sampleArray
now points to the first element of the array.
However, what does it mean when I say &sampleArray
? Does it mean I am getting the address of the sampleArray
variable? Or does it mean a two-dimensional array variable?
So, can I do this:
int (*p)[5] = &sampleArray?