Lanarcam said:
I couldn't find a response in the archives.
Is the following instruction defined by the C language?
int i;
int k = & * i;
& and * are complementary, in that they tend to cancel each other out (one
creates a pointer to something, one dereferences a pointer).
But, while &*A and *&A do cancel out, the compiler will likely first check
that *A and &A are legal before considering the & or * .
So you example &*i probably won't work, because *i doesn't make sense. But
it might work as *&i, because &i is legal.