Expressions - Programming

Q1:

Will the expression *p = p be disallowed by the compiler?

A Yes

B No

ANS:B - No

Because, here even though the value of p is accessed twice it is used to modify two different objects p and *p