可学答题网 > 问答 > 计算机程序设计综合练习题库,计算机科学技术题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

请读程序: #include<stdio.h> void fu


请读程序: #include<stdio.h> void fun(float *pl, float *p2, float *s) { s=( float * )calloc( 1, sizeof(float)); *s=*p1+ *(p2++); } main() { float a[2]={1.1, 2.2}, b[2]={10.0, 20.0}, *s=a; fun(a, b, s) printf(""%f\n"",*s); } 上面程序的输出结果是()

  • A11.100000
  • B12.100000
  • C21.100000
  • D1.100000
参考答案
参考解析:
分类:计算机程序设计综合练习题库,计算机科学技术题库