Given two variables:
int x
int* p
and these expressions:
*(&x+*p)+x
&p+x
*(&p-(int**)&x)+x
*(&x+*(p+7))
For each expression find out if it is valid or not, if it an Rvalue expression or an Lvalue expression and what type it represents.
I think the first one is not valid.
Should be an Rvalue of type int, am I right?
What about the others? Thank you for your help!