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 #line?
Is javascript written in c?
difference between native and cross compilers
Difference between linking and loading?
the question is that what you have been doing all these periods (one year gap)
What do you understand by friend-functions? How are they used?
Explain how can I right-justify a string?
What is || operator and how does it function in a program?
What is formal argument?
What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers
How can you avoid including a header more than once?
What is malloc() function?
What is the most efficient way to count the number of bits which are set in an integer?
What is quick sort in c?
How many types of functions are there in c?