If you are using C then use -
return_type function(type arrayname[])return_type function(type arrayname[SIZE])return_type function(type *arrayname)
and For C++ use -
void myFunction(int *param)void myFunction(int param[10])void myFunction(int param[])
Note: C++ does not allow to pass an entire array as an argument to a function. However, You can pass a pointer to an array by specifying the array's name without an index.
If you want to understand how you can use arry function in C/CPP read this article.