综合百科

c语言怎么换到下一行

C语言中有两种方法可以使输出换到下一行。在使用前,您必须引用std.h头文件。

靠前种是使用println方法,直接换行输出。

第二种是在输出内容后叠加上换行符号/r/n即可。