InterviewSolution
Saved Bookmarks
| 1. |
Subsequent elements are moved in terms of _____ when an element in inserted in vector?(a) Assignment Operator(b) Copy constructor(c) Both assignment operator and copy constructor(d) destructorI have been asked this question in exam.The doubt is from Sequences and Containers in chapter Algorithms, Objects & Iterators in C++ of C++ |
|
Answer» Right option is (c) Both assignment operator and copy constructor |
|