Why is there a difference between passing a string and a pointer to a string?

前端 未结 0 1859
长发绾君心
长发绾君心 2020-12-18 05:00

When I pass a plain string to a function that returns single lines from that string and advances it to the next line, the function does not advance the string but overwrites

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