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