I was reading this answer- https://stackoverflow.com/a/1644292/10352155
After reading it I have some doubts which go as follows:
It is said in the answer that, as soon as that array expression "decays" to a pointer, all you have is a pointer to a single element.
So does it means that when the array expression is getting converted to a pointer, an extra memory space(other than the memory spaces already allocated for the array elements) of required bytes is allocated to store the value of the pointer expression(which is none other than the base address of the array)?
If this is so, then how is it different from the language B where it was mentioned that a separate memory space is allocated for a pointer expression?
And if it is not so and no extra memory is being allocated, then how is the pointer expression storeing the value of the base address?