Question
What will happen in this code?
int a = 100, b = 200;
int *p = &a, *q = &b;
p = q;
Answer: Option B
Was this answer helpful ?
Assigning to refrence changes the object to which the refrence is bound.
Was this answer helpful ?
More Questions on This Topic :
Question 1.
Which of the following is illegal?
....
Question 2.
Choose the right option string* x, y;
....
Submit Solution