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