Why I need to alloc memory to a string instead of using only a pointer always?

前端 未结 0 1632
滥情空心
滥情空心 2021-01-19 00:38

I am wondering why I need to alloc memory sometimes, to get an array with n size, but why I cannot instead of that using a pointer!

Look at this:

#incl         


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