initialize vector of strings
vector < string > arr ; arr . push_back ( " geeksquiz " ) ; arr . push_back ( " geeksforgeeks " ) ; arr . push_back ( " abcd " ) ; arr . push_back ( " forgeeksgeeks " ) ; arr . push_back ( " zuiqkeegs " ) ; arr . push_back ( " cat " ) ; arr . push_back ( " act " ) ; arr . push_back ( " tca " ) ;