Vidyalelo
C Programming · Q2

Memory Allocation

Programming · C Programming · question 2

Q2

What is the purpose of the 'malloc' function in C?

A.
To allocate dynamic memory
Answer
B.
To allocate static memory
C.
To deallocate memory
D.
To find memory leaks

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board