请读程序: #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); } 上面程序的输出结果是()

A . 11.100000 B . 12.100000 C . 21.100000 D . 1.100000

时间:2022-08-31 09:35:10 所属题库:计算机程序设计综合练习题库

相似题目