I am new to C++ programming. Can anyone please explain to me what is the difference in following statements?
vector<int> *v;
v = new vector<int>[10];
I am trying to understand the code of hashing with chaining on this link https://www.geeksforgeeks.org/c-program-hashing-chaining/