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