in cpp aray as a method parameter code example Example: array as parameter c++ void myFunction(int param[]) { . . . }