Posts by Rodrigo Vieira • 21 points
1 post
-
2
votes2
answers330
viewsA: Dynamic allocation and runtime of functions
It remains allocated yes, to release you need to use the free. You need to pass as pointer pointer. void adicionar(cel** c) { } If you have allocated in main and just want to change some property…