Question: What is the correct way to pass a vector through this method declaration in C++? Where would it go exactly and what is the syntax

What is the correct way to pass a vector through this method declaration in C++? Where would it go exactly and what is the syntax for it? Thank you!

void MergeSort (SortBy sortBy);

void MergeSort (SortBy sortBy);

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Method Declaration and Definition include iostream include vector include algorithm class S... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Algorithms Questions!