Accessing memory allocated within a function using double pointer or reference

technicalA discussion thread that explains the correct ways of handling memory allocated within a function and assigned to a pointer passed as parameter to the function. The most common scenario is when we want to get back a list of structures from a function.

Leave a Reply

Your email address will not be published. Required fields are marked *