A

Admin • 833K Points
Coach

Q. Which header file is required for using malloc()?

  • (A) malloc.h
  • (B) stdlib.h
  • (C) memory.h
  • (D) alloc.h
  • Correct Answer - Option(B)
  • Views: 25
  • Filed under category C Programming
  • Hashtags:

Explanation by: Admin

malloc() is declared in stdlib.h.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.