Initializing char* and allocating memory for a specific amount adds nullptr characters

后端 未结 0 1745
刺人心
刺人心 2021-01-11 11:04

I am trying to initialize a char* and allocate memory for a specific amount of chars (9 in this case), but when I run the program and look at the value of char* (by using a

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