your example allocates p and stores result in wordConsider an example
when realloc failes - no action is done to prevent memory overrun
your example allocates p and stores result in wordConsider an example
when realloc failes - no action is done to prevent memory overrun
All problems in computer science can be solved by another level of indirection,
except for the problem of too many layers of indirection.
– David J. Wheeler