Vidyalelo
C Programming · Q26

Pointer

Programming · C Programming · question 26

Q26

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

A.
Allocate memory on the stack
B.
Allocate memory on the heap
C.
Allocate memory for a function
D.
Allocate memory for an array of variables
Answer

Answer: Option D

Solution

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