Q. What will happen in this code?
Code:
int x = 10, y = 20; int *p = &x, *q = &y; p = q;
β
Correct Answer: (B)
p now points to y
int x = 10, y = 20; int *p = &x, *q = &y; p = q;
You must be Logged in to update hint/solution