+ 1
What is the alternative for global pointer in c for implementing dynamic array?
I have to declare an dynamic array in one function and use it in multiple functions.
2 Answers
+ 1
Thanks
0
Just pass the pointer between the functions.
I have to declare an dynamic array in one function and use it in multiple functions.