Posts by Pedro Augusto • 63 points
1 post
-
6
votes2
answers146
viewsQ: Pointer changes address when exiting function
When performing a dynamic allocation of a vector or matrix in C, the pointer for that allocation changes address when leaving the function, before it was pointing to the initial address of the…