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