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