// Code derived from Stroustrup's PPP2 book// § 4.6 vector// -and beginning on p 118#include<iostream>#include<string>#include<vector>usingstd::cout;usingstd::string;usingstd::vector;intmain(){vector<int>vi(6);// vector of 6 ints initialized to 0vector<string>vs(4);// vector of 4 strings initialized to ""// output above variable values to console...for(inti:vi)cout<<i<<'\n';//---cout<<'\n';for(strings:vs)cout<<'"'<<s<<'"'<<'\n';}