Why is there not a function in C that returns size of memory allocated pointed to by a pointer?

前端 未结 0 837
孤独总比滥情好
孤独总比滥情好 2020-11-29 07:43

After searching around for a bit on how deallocation (via free()) after allocation (via something like malloc()) works, I\'m left puzzled.

Reading around, sources say

相关标签:
回答
  • 消灭零回复
提交回复
热议问题