I have a function which takes a 2d-array as an argument. Then I have a 3d-array e.g. temp[5][100][100]. I want to pass the 2d portion of this array to the function. How can I do this?
int inteference_sets(int array[][],int array_size,int max_channel){
//function codes
}
int main(){
int k;
int temp[5][100][100];
for(k=1;k<=4;k++){
interference_sets(temp[k], , ) //this is how the program intends to work
}
}
Is it possible? If yes, then how?