I\'ve tried using a tripple pointer, but it keeps failing. Code:
#include
#include
int set(int *** list) {
int count, i;
you have an array of integer arrays. Let's look at your set function closely:
for (i = 0; i < count;i++ ) {
(**list)[count] = 123;
}
As you can see you are treating every array object like an integer value. That should be a nested loop:
for (i to n)
// allocate each array
for (k to m)
// assign value for each value of array