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
write a program to copy the string using switch case?
Why n++ execute faster than n+1 ?
What is the return type of sizeof?
What does return 1 means in c?
Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......
What is #include conio h?
i got 75% in all semester am i eligible for your company
Differentiate between functions getch() and getche().
please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code
write a programming in c to find the sum of all elements in an array through function.
write a program to rearrange the array such way that all even elements should come first and next come odd
What is the use of header files?
What is meant by initialization and how we initialize a variable?
Explain what is #line used for?
Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings