Sail E0 Webinar
Question

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


Options:
A .  Yes
B .  No
Answer: Option B

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

different objects p and *p



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers