Passing Array to Function in C/CPP

As said above you can pass by reference in C++ which you did not list

You can’t pass the array by copy neither in C nor C++ (unless it’s bundled in a struct) - all the variations you listed is just passsing a pointer