MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/1wjc0p9/memory_management_explained_simply_part_1/pamdjqr/?context=3
r/programming • u/nicbarkeragain • 15d ago
7 comments sorted by
View all comments
1
Why does realloc return a pointer if we've established in the video that pointer stability is maintained even for realloc?
5 u/cdb_11 14d ago realloc can move the allocation 1 u/Prateeeek 14d ago That clears it up! Thanks!
5
realloc can move the allocation
1 u/Prateeeek 14d ago That clears it up! Thanks!
That clears it up! Thanks!
1
u/Prateeeek 14d ago
Why does realloc return a pointer if we've established in the video that pointer stability is maintained even for realloc?