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

How do I initialize a pointer to a function?

2 Answers  


read the folllowing code # define MAX 100 # define MIN 100 .... .... if(x>MAX) x=1; else if(x<MIN) x=-1; x=50; if the initial value of x=200,what is the vlaue after executing this code? a.200 b.1 c.-1 d.50

4 Answers   TCS,


Can you write the algorithm for Queue?

0 Answers   College School Exams Tests, TCS,


What are preprocessor directives in c?

0 Answers  


what is the difference between : func (int list[], ...) or func (int *list , ....) - what is the difference if list is an array and if also if list is a pointer

2 Answers  


Linked list is a Linear or non linear explain if linear how it working as a non linear data structures

0 Answers  


Write a program on swapping (100, 50)

0 Answers   BPL,


Explain function pointer with exapmles.

2 Answers  


Explain continue keyword in c

0 Answers  


Describe static function with its usage?

0 Answers  


Would you rather wait for the results of a quicksort, a linear search, or a bubble sort on a 200000 element array? 1) Quicksort 2) Linear Search 3) Bubble Sort

3 Answers  


What is static identifier?

0 Answers   TCS,


Categories