• 2022-06-15 问题

    下列语句中,将函数intSum(intx,inty)正确重载的是() A: floatSum(intx,inty); B: intSum(inta,intb); C: floatSum(floatx,floaty); D: doubleSum(inty,intx);

    下列语句中,将函数intSum(intx,inty)正确重载的是() A: floatSum(intx,inty); B: intSum(inta,intb); C: floatSum(floatx,floaty); D: doubleSum(inty,intx);

  • 2021-04-14 问题

    中国大学MOOC:4、输出如下程序的结果:#includeintmain(){inta[3][3]={{98,97,99},{100,67,89},{78,89,79}};inti,j=0;floatsum=0;for(i=0;i<5;i++)sum=sum+a[j][i];printf(%f,sum/5);return0;}

    中国大学MOOC:4、输出如下程序的结果:#includeintmain(){inta[3][3]={{98,97,99},{100,67,89},{78,89,79}};inti,j=0;floatsum=0;for(i=0;i<5;i++)sum=sum+a[j][i];printf(%f,sum/5);return0;}

  • 1