I have this array of vectors, vectors of pair:
vector<pair<int, int> > adj[V];
How can i copy this to another variable ?
vector<pair<int, int> > adjCopy[V] = adj; //not working;
I also tried using std:copy but is shows that vector(variable size) is inside the array so, cannot copy.