+ 3
How to pass 3D array in function
6 Respostas
+ 2
int ***arr and you can use it like this *(*(*(arr+i)+i)+i) to access the elements
+ 2
No i want to send int rows, cols as a parameter.
+ 2
How
+ 2
Thanks
+ 1
you need to pass it with the size like this int arr[10][10][3]
+ 1
its better you use pointer