Question PRG-C-0057
MediumWhy should the result of realloc() be stored in a temporary pointer first?
- A.
If it fails it returns NULL, and assigning that directly would lose the original block
- B.
realloc() always moves the block
- C.
Sign up free to see the answer and a step-by-step explanation.