What is Dynamic memory allocation in C? Name the dynamic allocation functions.

Answer Posted / hrpynux@gmail.com

To allocate memory dynamically, library functions are malloc() , calloc() , realloc() and free() are used. ... These functions are defined in the <stdlib. h> header file.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.

1689


Write a code to remove duplicates in a string.

815


What is wrong with this statement? Myname = 'robin';

1034


How can you increase the allowable number of simultaneously open files?

801


What does c mean in basketball?

741


Can a program have two main functions?

829


praagnovation

2002


will u please send me the placement papers to my mail???????????????????

1600


What is sizeof c?

809


What is #include stdio h and #include conio h?

754


What does d mean?

762


What is function prototype?

772


write a proram to reverse the string using switch case?

2669


What does struct node * mean?

786


Describe dynamic data structure in c programming language?

799