What is a memory leak in structures? How can we rectify that?

Answer Posted / sadhasivaraj

defining a structure includes lots of memory space bcoz
scructure consumes lots of memory space by allocatin a
desired space during initialization
ie bcoz struct can handle different data types

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the main characteristics of c language describe the structure of ac program?

616


What is the difference between exit() and _exit() function?

610


What is a null pointer in c?

602


What is printf () in c?

582


What are the advantages and disadvantages of c language?

568






List some basic data types in c?

561


What are the restrictions of a modulus operator?

641


What is pointer to pointer in c?

636


How can I read/write structures from/to data files?

554


What is oops c?

617


In which language linux is written?

607


How can I recover the file name given an open stream or file descriptor?

600


Is malloc memset faster than calloc?

622


What would be an example of a structure analogous to structure c?

578


What is difference between Structure and Unions?

644