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
Explain Basic concepts of C language?
What is static and auto variables in c?
Explain what is the stack?
What is difference between stdio h and conio h?
What is 02d in c?
Implement bit Array in C.
What does it mean when a pointer is used in an if statement?
What is the default value of local and global variables in c?
How do I copy files?
What is difference between union All statement and Union?
a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above
Is r written in c?
#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }
What are compound statements?
What is the difference between array and pointer in c?