Which of the following header files must necessarily be included to use dynamic memory allocation functions?

Tâm Tây

New member
Which of the following header files must necessarily be included to use dynamic memory allocation functions?
A. stdlib.h
B. stdio.h
C. memory.h
D. dos.h
 
Answer: a
Explanation: stdlib.h is a header file which stands for the standard library. It consists of the declaration for dynamic memory allocation functions such as malloc(), calloc(), realloc() and free.
 

Tìm kiếm

Back
Top