passing array to function by reference c++ code example Example: array as parameter c++ void myFunction(int param[]) { . . . }