Discussion :: C++ - MCQs
-
What will happen in this code?
int a = 100, b = 200;
int *p = &a, *q = &b;
p = q;
Answer : Option B
Explanation :
Assigning to refrence changes the object to which the refrence is bound.
Be The First To Comment