I saw a weird type of program here.
int main()
{
    int s[]={3,6,9,12,18};
    int* p=+s;
}
Above program tested on GCC and Clang compilers and working fine on both compilers.
I curious to know, What does int* p=+s; do?
Is array s decayed to pointer type?
 
     
     
     
     
     
    