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