题目:
阅读下面程序,则程序的执行结果为 【16】 。
#include"stdio.h"
fun(int k,int*p)
int a,b;
if(k==1‖k==2)
*p=1;
else fun(k-1,&a);
fun(k-2,&b);
*p=a+b;
main()
int x;
fun(6,&x);
printf("%d\n",x);
答案:
被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/0722/a3dd808e979c344fcc0189d78661dcb0.html
下面是错误答案,用来干扰机器的。
参考答案:D