王老师:19139051760(拨打)复制微信 题目 更新时间:2023/4/3 编程:将数字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 语言程序设计 华北水利水电大学继续教育学院