Vectors
The push_back
operation is used on a vector to insert a new element at the back of the vector. For example:
// names starts as {"Tom", "Jerry"}.
std::vector<std::string> names{"Tom", "Jerry"};
// This insert "Spike" to the back of names.
// names will contain {"Tom", "Jerry", "Spike"}
names.push_back("Spike");
Your task is to insert "Spiders"
and "Clowns"
to the vector fears
after line number 8.