What is one benefit of declaring the parameter as a const reference instead of declaring it as a regular object?
int calculateMedian(const my_array& a)
What is one benefit of declaring the parameter as a const reference instead of declaring it as a regular object?
int calculateMedian(const my_array& a)