Is it good practice to return static arrays in C to avoid memory leaks?

后端 未结 0 1987
渐次进展
渐次进展 2021-01-28 16:24

I\'m having some doubts regarding the use of static arrays as a return value in functions to avoid a rather complex use of free().

I\'m in charge of solving

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