what are the various memory handling mechanisms in C ?
Answer Posted / santhi
thre are 3 memory handling mechanisms.they are
malloc,calloc,ralloc.
malloc:which allocates memory to a variable dynamically.
calloc:which allocates blocks of memory.
ralloc: which can be used to reallocation of memory incase
of unsufficient memory which is allocated earlier.
using "delete" we can free the memory allocated to a
variable.
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
How can I make it pause before closing the program output window?
HOW TO SOLVE A NUMERICAL OF LRU IN OS ??????
What is the use of the function in c?
What does c mean in standard form?
What is the use of printf() and scanf() functions?
How can I automatically locate a programs configuration files in the same directory as the executable?
How do you define CONSTANT in C?
What 'lex' does?
What is the method to save data in stack data structure type?
Explain how do you list files in a directory?
simple program of graphics and their output display
Can we declare a function inside a function in c?
What does 3 periods mean in texting?
Explain the properties of union. What is the size of a union variable
write a program to rearrange the array such way that all even elements should come first and next come odd