有以下程序 #include <stdio.h> #include <stdlib.h> void fun( int *p1, int *p2, int *s) { s=( int*)calloc(1,sizeof(int)); *s=*p1+*p2; free(s); } main() { int a[2]={1,2}, b[2]={40,50},*q=a; fun(a,b,q); printf("%d\n", *q); } 程序运行后的输出结果是
A.42
B.41
C.1
不抱怨不强求 46楼
kuser4959 47楼
谢爽 48楼
゛请叫我浮云先生ヾ 49楼
.8846 50楼
CB.COM 51楼
伟(big_ho) 52楼
做题数5122
做题数1079
做题数908
做题数832
做题数799
做题数770