下面程序的运行结果是 ______ 。 #include
int main(void) { int i=5; int sub(int n); printf("%d\n",sub(i)); return 0; } int sub(int n) { int a; if(n==1) return 1; a=n+sub(n-1); return(a); }
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
皮皮学刷刷变学霸
举一反三
【简答题】Energy independence. It has a nice ring to it. Doesn't it? If you think so, you're not alone, because energy independence has been the dream of American president for decades, and never more so than i...
【单选题】Energy independence. It has a nice ring to it, doesn’t it? If you think so, you’re not alone, because energy independence has been the dream of American presidents for decades, and never more so than ...
【简答题】Energy independence. It has a nice ring to it. Doesn’t it? If you think so, you’re not alone, because energy independence has been the dream of American president for decades, and never more so than i...