1.What is the use of dynamic allocating vectors on the heap and is it a good practice?
2.What is the difference between the following:-
vector<Object> *col = new vector<Object> vector<Object*> col
3.Does vectors dynamically allocate items on the heap in the following example:-
vector<Object> x; or vector<int> x;
Source: Windows Questions C++