Top

Discussion

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

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.

No comment is present. Be the first to comment.
Loading…

Post your comment