Question: C++ Write a template function that receives a contact vector reference type as a parameter and prints the elements of the vector. The function must
C++ 
Write a template function that receives a contact vector reference type as a parameter and prints the elements of the vector. The function must print two elements per line. Write a main function to test this function. In the main function create three different vectors of the types, int, double and char. In at least one case use the default constructor of the vector. Initialize the vectors with six elements then call the template function on each of the vectors
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
