Address of pointer(2)

#include
using namespace std;
int main()
{
int a[10];

cout<<&a<<endl;

cout<<a;

}

this code gives the same address how ??
if array is a[10] and we know that a stores the first element’s address so it means a is also a pointer right and the pointer is also stored in STATIC memory same as our static array so how do they have same addresses .
one more thing is pointer created or not when initialising a[10] . Check the image for my visualisation and basically i want to know the address of pointer a that is x or &a. i hope u get my question this time.

hello @ranahiten8

the scenario that u mentioned in image happens in case of dynamic memory allocation.

if u do int *a=new int [10]; then above imae is true
for static array a is the name of array memory block itself

can i get ur discord id?

i dont use discord.
read this-> link