填空实现函数的功能:将形参给定的字符串、整数、浮点数写到文本文件中,再用字符方式从此文本文件中逐个读入并显示在终端屏幕上。 void fun(char *s, int a, double f) { ________ fp; char ch; fp = fopen("file1.txt","w"); fprintf(fp, "%s %d %f\n", s, a, f); fclose(fp); fp = fopen("file1.txt","r"); ch = fgetc(fp); while (!feof(______)) { putchar(______); ch = fgetc(fp); } fclose(fp); }