• 2022-06-16
    下面程序的输出结果是________。#include<;stdio.h>;int main( ){ FILE *fp; int n,a[2]={65,66}; char ch; fp=fopen("d.dat","w"); fprintf(fp,"%d%d",a[0],a[1]); fclose(fp); fp=fopen("d.dat","r"); fscanf(fp,"%c",&ch); n=ch; while(n!=0){printf("%d",n%10);n=n/10;} fclose(fp); return 0;}
  • 举一反三