Question: C++ p2 1) Write a function combine which takes two vectors of student names, group1 and group2 and returns a vector containing all the students
C++
p2
1) Write a function combine which takes two vectors of student names, group1 and group2 and returns a vector containing all the students in both groups. Call your function from the main with two groups you create and then print the result returned from the function. 2) Describe briefly how vectors are like arrays and how they are more powerful than arrays.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
