A

Admin • 828.03K Points
Coach

Q. Which function is used to allocate memory dynamically in C?

  • (A) alloc()
  • (B) malloc()
  • (C) memalloc()
  • (D) new()
  • Correct Answer - Option(B)
  • Views: 9
  • Filed under category C Programming
  • Hashtags:

Explanation by: Admin
malloc() is used to allocate memory at runtime.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.