![]() |
Help for three dimensional function call
Please any one can help me regarding function call for three dimensional array.
How to send result of three dimensional array to main function. |
Re: Help for three dimensional function call
You need to pass the pointer.
|
Re: Help for three dimensional function call
Can u explain me with an example please.
|
Re: Help for three dimensional function call
For any array, say
Code:
int arr[2][3][4];Code:
void foo ( int arr[2][3][4] );Code:
void foo ( int arr[2][3][4] ) {Note that all these are equivalent. Code:
void foo ( int arr[2][3][4] );The call to the function would be just Code:
foo( arr ); |
Re: Help for three dimensional function call
Share the code you are having trouble and we can look into it and show you the problem areas.
|
| All times are GMT +5.5. The time now is 20:17. |