求大神解释一下.
#include<stdio.h>#include<stdlib.h> 编译的时候没错,但无法运行,求高手详细解释下;
int main(void)
{void age(int n);
int t;
t=age(5);
printf("the fith age is:%d\n",t);
system("pause");
return 0;
}
void age(int n)
{
int i=5;
int c;
if(n==1)
c=10;
else
c=age(n-1)+2;
return c;
}