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
What is action and transformation in spark?
write a program in c language to print your bio-data on the screen by using functions.
What is the difference between the = symbol and == symbol?
explain what is fifo?
What are derived data types in c?
Is null valid for pointers to functions?
what will be maximum number of comparisons when number of elements are given?
How do you define CONSTANT in C?
Why c is faster than c++?
Are negative numbers true in c?
Write a program to swap two numbers without using third variable in c?
Is there any demerits of using pointer?
When should you not use a type cast?
Is struct oop?
How do you use a 'Local Block'?