Vidyalelo
C Programming · Q48

Memory Allocation

Programming · C Programming · question 48

Q48

In the function realloc(), if the new size of the memory block is larger than the old size, then the added memory . . . . . . . .

A.
is initialized to junk values
B.
is initialized to zero
C.
results in an error
D.
is not initialized
Answer

Answer: Option D

Solution

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