Declaring an array using constant passed to a function c++ code example Example: array as parameter c++ void myFunction(int param[]) { . . . }