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
Explain what is the purpose of "extern" keyword in a function declaration?
What is an operator?
how to make a scientific calculater ?
Why functions are used in c?
What are near, far and huge pointers?
cin.ignore(80, _ _);This statement a) ignores all input b) ignores the first 80 characters in the input c) ignores all input till end-of-line d) iteration
What is the purpose of realloc()?
What is the difference between if else and switchstatement
Explain what are reserved words?
How will you delete a node in DLL?
What is the correct code to have following output in c using nested for loop?
Difference between linking and loading?
When should you not use a type cast?
What is the purpose of void in c?
Write a program to swap two numbers without using the third variable?