For what I am trying to do, I require an array in the form char **.
I found out that using the following creates a dynamic array that ends up requiring 256 free calls:
char** start = malloc(11*sizeof(char));
for (i=0;i<256;i++) {
start[i] = malloc(11*sizeof(char));
}
for (i=0;i<256;i++) {
free(start[i]);
}
How do I create an array that is in the form char[(malloc)][(12)] if that makes sense…
pis a pointer tonarrays, each of length 12.