NUL char in strings in C++

前端 未结 0 1762
旧巷少年郎
旧巷少年郎 2021-02-11 23:38

In the below code I am trying to replace the first character with \'\\0\'.

I expected it to print an empty string, but in the output it just omits that and

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