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

 Dont Buy Textbooks. Rent 'EM Save 60-80%



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?c++ static



Hi,

Suppose ur struct pointer is a

struct structure *a;

free(a);

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



More Related Questions and Answers ...
  • Should I delete c:\windows\system32\winser32...
  • Can I delete C:\Documents and Settings\Claudi..
  • How do I delete: C:/users/kenneth/appdata/loc..
  • How do i delete C:\WINDOWS\TEMP\GLB51B1.TMP i..
  • Can anyone tell me if I am able to delete c d..
  • C Drive is get full.No option to delete anyfi..
  • Delete pointer in c++?
  • Why I cant Delete my partition C?
  • Can I Delete this file C:\Program Files\IBM\S..
  • How can I delete folder in C:\program files? ..
  • Delete partition in C: drive?
  • How to delete Microsoft Visual C++ 2005 Redis..
  • I have 2 administator a/c.I want to delete 1 ..
  • How one c'd delete one Yahoo mail ad..
  • Will formatting my c: drive delete everything..
  • How to delete C:\8ti.exe & C:\autorun.inf..
  • Why do I have 2 C:drives & can I delete o..
  • How can we delete any file(s) in C.?
  • I Can't Delete 'C-Media WDM..

  • The information post by website user , we not guarantee correctness.

    

    Dental Treatment Skin Whitening Skin Problems Skin Rashes Shoes