Bubble sort c++

Hi I’m at part 10 of the intermediate c++ course (sorting arrays), and getting an error when calling the “sort” function inside the main can you help? Thanks

Are you using namespace std? And what are your imports?

Use function sizeof to get the size of an array.

there is no size() function
you should use the ‘size’ parameter that you supply
I dont think sizeof() is a good or efficient choice