Dynamic Memory Allocation in C Language
Assess your knowledge of dynamic memory allocation in C programming with these multiple choice questions. Learn about the different functions for allocating and freeing memory dynamically in C and become a proficient C programmer. Take the quiz now! The concept of dynamic memory allocation in c language enables the C programmer to allocate memory at runtime. Dynamic memory allocation in c language is possible by 4 functions of stdlib.h header file.
malloc()
calloc()
realloc()
free()
-
A
remove(var-name);
-
B
free(var-name);
-
C
delete(var-name);
-
D
dalloc(var-name);
B
Answer:
B
free(var-name);