passing an array as a parameter c++ code example Example: array as parameter c++ void myFunction(int param[]) { . . . }