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