how to pass arrays as arguments in c++ code example Example: array as parameter c++ void myFunction(int param[]) { . . . }