in my main function i have an array of pointers (the last few contain NULL), I send it to a function and some of those NULL bytes now point to data in the HEAP memory.
How can i update my array in the main.
function is passed *stuff[], it cam hold MAXLEN pointers, so i recreate a char *n[MAXLEN] but when i update n, the array i pass is back to normal when viewed in main().