Examveda
Examveda

In C, what is the purpose of the 'malloc' function?

A. Allocate memory on the stack

B. Allocate memory on the heap

C. Allocate memory for a function

D. Allocate memory for a variable

Answer: Option B


This Question Belongs to C Program >> Pointer

Join The Discussion

Related Questions on Pointer