+ 1

How to pass an array to another function?

For instance we have "arr[2][5]" in "int main()" and we want to pass it to the "int average()" .

12th May 2019, 4:46 AM
ALi
ALi - avatar
3 Antworten
+ 1
average (arr) //Declaration int average (int arr[][])
12th May 2019, 5:00 AM
‎ ‏‏‎Anonymous Guy
+ 1
It seems you did't get the question.
12th May 2019, 9:38 AM
ALi
ALi - avatar
0
Daniel Namjoo Would you mind explaining you question
12th May 2019, 9:43 AM
‎ ‏‏‎Anonymous Guy