fgets after fgetc stores only '\n' in the buffer

后端 未结 0 1287
失恋的感觉
失恋的感觉 2020-11-29 14:19

When the following program is run, then line 10 is skipped, and the buffer n[100] contains \'\\n\' only. So, the user is not allowed to save any data in n. Could you please

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