int main() {
int arr[3] = { 1,3,5 };
int * ptr1 = arr;
int * ptr2 = &arr; // warning C4047: reference level between int * and int (*)[3] is different
return 0;
}
I know 'arr
' means pointer that has starting address value of array 'arr
'. Also, it is a Immutable pointer value. Then, isn't the idea that '&arr
' is a address of pointer 'arr
', right?