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