Q19
How do you check if the 'realloc' function has successfully reallocated memory in C?
A.
Check if the return value is not NULL
AnswerB.
Check if the return value is 1
C.
Check if the return value is -1
D.
Check if the return value is 0
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board