题目内容
执行以下程序后,文件test.txt的内容是( )。#include int main(){ FILE *fp;char str[][10]={"hello","world"};fp = fopen("test.txt", "w");if(fp!=NULL)fprintf(fp,"%s",str[1]);fclose(fp);fp = fopen("test.txt", "w");if(fp!=NULL)fprintf(fp,"%s",str[0]);fclose(fp);return 0;}
查看答案
搜索结果不匹配?点我反馈
更多问题