Need some help guys; just started working with C and I'm having some issues with arrays. I'm working on making a program to solve the 8-queens problem. I have a function that has a 2d int array passed to it that it uses to calculate elimination values. I want to store these elimination values in another 2d array to be used later. I can't declare an array as a return type like I could in java. So, how would I go about exporting this array?
Could I pass another parameter, like a pointer to another array outside the function? I don't know much about pointers at all (our professor has just started on the subject).