Vidyalelo
C Programming · Q8

Memory Allocation

Programming · C Programming · question 8

Q8

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

A.
To allocate memory
B.
To set memory to zero
Answer
C.
To find memory leaks
D.
To copy memory

Answer: Option B

Solution

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