What does the 'malloc' function do in C?

Practice Questions

Q1
What does the 'malloc' function do in C?
  1. Allocates memory on the stack
  2. Allocates memory on the heap
  3. Frees allocated memory
  4. Initializes a pointer

Questions & Step-by-Step Solutions

What does the 'malloc' function do in C?
No concepts available.
Soulshift Feedback ×

On a scale of 0–10, how likely are you to recommend The Soulshift Academy?

Not likely Very likely