You can use the Standard Template Library and pass a vector. That has its pluses and minuses. By far the simplest is just to pass the array and its length as two arguments.
You can use the Standard Template Library and pass a vector. That has its pluses and minuses. By far the simplest is just to pass the array and its length as two arguments.