Lab 1 Prelab Questions 1. What line of code is necessary to use data types and functions from the standard libraries without prepending "std::" to every piece of code referring to them? using namespace std; 2. Declare a vector of integers with space for 10 elements. vector vecint(10); 3. What function will add an element to the end of a vector? vecname.push_back(element); 4. Show how to use cout. 5. Show how to use cin. 6. Can you compare a string and an integer? 7. Does -1 equal "-1" in C++? 8. Write code to store user input in a vector of strings up until the stop word "stop". vector inpvec; string inp; cout << "Enter Input:" << endl; cin >> inp; while (inp != "stop") { inpvec.push_back(inp); cin >> inp; } 9. Create a for loop to output every element from a vector of strings called strvector. for (int i = 0; i < static_cast strvector.size(); i++) { cout << strvector[i]; } 10. Why will the following code cause a segmentation fault? for (unsigned int i = vec1.size()-1; i >= 0; i--) cout << vec1[i] << endl;