Pointer to arrays syntax
I have a question about syntax of pointer to arrays. Well we know arrays are pointers themselves(what our uni professor said) so why when we point to them with another pointer (which would be a pointer to pointer) we use this syntax: int array[10]; int *pointer = array; Instead of this syntax: int array[10]; int **pointer = &array; Although i know this would be correct using malloc but why not in the normal way, is it a compiler or syntax thing or i am wrong somewhere else?? Well we know arrays are pointers themselves No. Arrays are not pointers. Arrays are arrays. Except when it is the