I have a 3D array of chars table[][][] and I want to pass it to a void function so it can make changes to it. How can I do this?
void make(char minor[][][]);
.....
char greater[20][30][50];
make(greater);
I guess this is not gonna work.
EDIT: Another question connected with this: Say I want to make a copy function to copy a string into the array - how should I call the strcpy in the function?
void copy(char (*minor)[][])
{ char m[50] = "asdasdasd";
strcpy(minor[][],m);
}