Memory address of the first element
|
|
I was solving a quiz and this is a question:
Which of the following gives the memory address of the first element in array foo, an array with 100 elements?
A. foo[0];
B. foo;
C. &foo;
D. foo[1];
Both foo and &foo gives the same result. Which one is true?
Thanks
|