Thursday, July 9, 2009

I need a function code in c that can delete an allocated structure?

Pls. send to me the codes.....thank you....A function that can delete an allocated structure in c.....

I need a function code in c that can delete an allocated structure?
Hi,


Suppose ur struct pointer is a


struct structure *a;


free(a);


free() releases the memory block allotted to *a pointer variable.


No comments:

Post a Comment