array as parameter c++ class code example Example: array as parameter c++ void myFunction(int param[]) { . . . }