vector<int>v;=>here we have created only one vector. v.push_back(10). vector<int>v[10];=>here we have created 10 vector,v[0],v[1],..... we push element like. v[0].push_back(10); v[0].push_back(40),v[1].push_back(23)