数据的输入 C程序中实现输入的函数很多,下面逐个来进行介绍 用 printf 函数输出数据 printf 函数的一般格式 printf (“格式控制”,输出列表); 例如 #include<stdio.h> int main() { int a=1; printf("a=%d\n",a