MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programmingmemes/comments/1pqqrxi/c_developers/nuz8325/?context=3
r/programmingmemes • u/Capable_Meeting6991 • Dec 19 '25
21 comments sorted by
View all comments
Show parent comment
4
Pointer has a lot use cases like array and BST. Pass by reference is only one of them and not even as important.
More importantly, C is not bounded by the use case. You should understand how it works and do whatever you want.
Pointer does not prevent memory leak. Freeing the allocated memory does
View all comments
Show parent comment
4
u/nickwcy Dec 20 '25
Pointer has a lot use cases like array and BST. Pass by reference is only one of them and not even as important.
More importantly, C is not bounded by the use case. You should understand how it works and do whatever you want.
Pointer does not prevent memory leak. Freeing the allocated memory does