Expressions

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

A No

B Yes

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



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.