In C, are the following well-defined?
void* ptr = &ptr;
void* array[1] = {array};
In other words, can you use the address of a variable to initialize that variable? It seems to work with the GCC compiler, but I just want to know whether it is something I can rely on.
Edit: this is essentially a duplicate of Defining a pointer to refere to same variable name's reference?