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