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



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

Answer / 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

More C Interview Questions

c language supports bitwise operations, why a) 'c' language is system oriented b) 'c' language is problem oriented c) 'c' language is middle level language d) all the above

0 Answers  


Explain how does free() know explain how much memory to release?

0 Answers  


Does c have enums?

0 Answers  


What is the difference between Printf(..) and sprint(...) ?

0 Answers   InterGraph,


Give me basis knowledge of c , c++...

5 Answers  






What are dangling pointers?

1 Answers  


What is line in c preprocessor?

0 Answers  


program that accepts amount in figures and print that in words

2 Answers   Infosys, Lovely Professional University, Wipro,


Can math operations be performed on a void pointer?

0 Answers  


Stimulate calculators to perform addition,subtraction,multiplication and division on two numbers using if/else statement?

1 Answers   IBM,


int n=1; while(1) { switch(n) { case 1:printf("a"); n++; continue; case 2:printf("b"); n++; continue; default : printf("c"); break; } break; }

1 Answers  


What is the size of structure in c?

0 Answers  


Categories