A

Admin • 833K Points
Coach

Q. What is the return type of malloc()?

  • (A) int *
  • (B) void *
  • (C) char *
  • (D) float *
  • Correct Answer - Option(B)
  • Views: 18
  • Filed under category C Programming
  • Hashtags:

Explanation by: Admin

malloc() returns a void pointer to the allocated memory.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.