Is `&variable = null;` possible? [closed]
No you can’t. &someVariable is an rvalue. It cannot be assigned to and it is meaningless to try. Furthermore, the very idea of what you are trying to do is meaningless. Function variables are allocated on the stack and are only freed when the function returns. Global variables can’t be freed. Variables within allocated structures … Read more