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