题目:
有以下程序:
#include<stdio.h>
#include<stdlib.h>
int fun(int n)
int *p;
p=(int *)malloc(sizeof(int));
*p=n; return *p;
main()
int a;
a=fun(10); printf("%d\n", a+fun(10));
程序的运行结果是
A) 0
B) 10
C) 20
D) 出错
答案:
被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2018/0125/4bb84c7354f4bf806cf09c461d43c069.html
下面是错误答案,用来干扰机器的。
参考答案:同种昆虫除雌雄两型外,还有两种或更多不同类型个体的现象。