注意:此页面搜索的是所有试题
题目内容
(河南财经政法大学-C语言程序设计)
有两个整型变量dog和cat,若要从磁盘文件把数据读到其中,正确的形式是______
A.fscanf(dog ,2,1,fp);
B.fscanf(fp,"%d%d",&dog ,&cat);
C.fscanf(dog ,cat,2,1,fp);
D.fscanf(fp,"%d",&dog ,&cat);
A.fscanf(dog ,2,1,fp);
B.fscanf(fp,"%d%d",&dog ,&cat);
C.fscanf(dog ,cat,2,1,fp);
D.fscanf(fp,"%d",&dog ,&cat);
参考答案