问题 更新时间2023/4/3 12:59:00 编程:将数字66以字符的形式写到磁盘文件中。部分程序如下: #include void main() { FILE *fp; int i=66; if((fp=fopen("d:\\C\\file2.txt","w"))==NULL) { printf("不能打开文件"); getch(); exit(1); } ( ) fclose(fp); } 答案 登录 注册 fprintf(fp,"%c",i); 出自:联大 >> 华北水利水电大学C 语言程序设计