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

which one is better structure or union?(other than the space occupied )

2 Answers  


Rapunzel walks into the forest of forgetfullness. She meets a Lion who lies on Monday Tuesdays and Wednesdays and meets a rabbit who lies on Thurs fridays and saturdays . On that day both say that "I lied yesterday". What day is it .

3 Answers   TCS,


Why is c not oop?

0 Answers  


What is uint8 in c?

0 Answers  


char ch=10;printf("%d",ch);what is the output

14 Answers   Accenture,


Why can't we initialise member variable of a strucutre

1 Answers  


Why is not a pointer null after calling free?

0 Answers  


Why pointers are used in c?

0 Answers  


What are preprocessor directives?

1 Answers  


How do you define a function?

0 Answers  


Is fortran still used today?

0 Answers  


n=7623 { temp=n/10; result=temp*10+ result; n=n/10 }

7 Answers   Wipro,


Categories