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
Can we replace the struct function in tree syntax with a union?
How can you increase the allowable number of simultaneously open files?
What is the difference between c and python?
What is the method to save data in stack data structure type?
What is the role of && operator in a program code?
Which header file should you include if you are to develop a function which can accept variable number of arguments?
What are the advantages and disadvantages of c language?
If errno contains a nonzero number, is there an error?
Explain the difference between the local variable and global variable in c?
Does c have function or method?
Differentiate between new and malloc(), delete and free() ?
I was asked to write a program in c which when executed displays how many no.of clients are connected to the server.
What are shell structures used for?
void main(int n) { if(n==0) return; main(--n); printf("%d ",n); getch(); } how it work and what will be its output...............it any one know ans plz reply
What does %2f mean in c?