敲键盘上的空格键输入空格。 C语言中输入空格是可以实现的,但须知道输出窗口一行最多多少个字符。这样才能保证输出在一行的中间。 #include "stdio.h" int main() { printf(" 在一行中间输出一句话! n") } 头文件:

#include <stdio.h>