how to pass part of array as parameter in c++ code example Example: array as parameter c++ void myFunction(int param[]) { . . . }