I have some pointers that I set to NULL at the beginning of main(). They are later initialized to point to something meaningful within another function. The problem is, when I return to main(), they are still pointing to NULL. How can I make it so that my pointer assignments that I make in the function are preserved when the scope returns to main?
Here I have shown the function declaration and me trying to use it:
Here I have shown the function declaration and me trying to use it: