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