Suppose,
int numbers [20];
int * p;
I think this is statement is valid
p = numbers;
But this is not
numbers = p;
Because numbers is an array, operates as a constant pointer, and we cannot assign values to constants. So if we go by this then we cannot use *numbers while initializing the array?
Yes
numbersis not a constant pointer, it is a non modifiablelvalueso you cannot assign to it.sizeof(int)returns the size of an integer on any particular implementationsizeof(int*)returns the size of a pointer to an integer.return type of
sizeof()issize_t(unsigned)