int arr[]={1,2,3};
int* A=arr;
I wonder if arr
is simply an int
pointer that points to the first element of the array or
if there's any difference between A
and arr
.
Also I wonder: while &arr
is the pointer points to the whole array, what does &A
point to?
I'll appreciate it if somebody could explain how &
works for a pointer.