c语言有哪些输入输出函数答:C语言输入输出函数有很多,bai标准I/O函数du中包含了如下几个常用的函数:scanf,printf,getc,putc,getchar,putchar,gets,puts,fgets,fputs,fgetc,fputc,fscanf,fprintf等.int scanf(const char *format, arg_list)scanf主要从标准zhi输入流中获取dao参数值,format为指定的参数格式及参数类型,如scanf("...
c语言编程中,如何用scanf函数输出字符数组?答:一、题目大意为输出一个已知的字符串。解题思路:定义一个字符数组,并用“初始化列表”对其赋以初值 用循环逐个输出此字符数组中的字符 include <stdio.h> int main(){ char c[15]={'r',' ','i','g',' ','g',' ','h','t','u',};int i;for(i=0;i<15;i++)printf("A=%...