题海让大学四年没有难题
白天模式登陆

题目详情

单选题 分析一下程序的运行结果(). #include<stdio.h> int func(int n) { if(n==1) return 1; else return(n*func(n-1)); } void mian() { int x; x=func(3); printf("%d\n",x); }

A. 5

B. 6

C. 7

D. 8

C语言程序设计课程封面

学科:C语言程序设计

时间:2024-06-01 12:27:45

Copyright © 2022 津ICP备2021001502号