Does fgets store a newline or just \0?

前端 未结 0 1524
刺人心
刺人心 2020-12-13 11:55

I am confused. Over the internet you can see different answer, so what is the real answer? Thanks.

What will be stored in name? Assume the user types the following:

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