Answers for "creating array parameter c++"

C++
0

how to set arrays as function parameters in c++

void myFunction(int *param) {
   .
   .
   .
}
Posted by: Guest on April-27-2021
0

how to set arrays as function parameters in c++

void myFunction(int param[10]) {
   .
   .
   .
}
Posted by: Guest on April-27-2021

Browse Popular Code Answers by Language