输入一个字符串(可能包含空格),输出它
hello, world
我们不建议你阅读下面的内容,除非遇到问题
关于输入截断传统的 scanf 读取到空格时会截断输入,若要读取空格则需要使用其他方案。 关于编译错误尽管 gets 曾经确实存在,但是由于其安全性问题自 C11 起已经被移除,具体请查看此处
scanf
gets
By signing up a ArchDevil C Training Camp universal account, you can submit code and join discussions in all online judging services provided by us.
Using your ArchDevil C Training Camp universal account