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