how to take array input in function c++ code example Example: array as parameter c++ void myFunction(int param[]) { . . . }