R

Ram Sharma • 193.86K Points
Coach

Q. What will happen in this code?

Code:
int x = 10, y = 20;
int *p = &x, *q = &y;
p = q;
  • (A) y is assigned to x
  • (B) p now points to y
  • (C) x is assigned to y
  • (D) q now points to x

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.