//弹栈例子
void example(int x)
{
if(x == 0)
return;
example(x-1);`
printf("%d\n",x);
}
void main ()
{
example(5);
system("pause");
}
C语言--弹栈
最新推荐文章于 2024-06-27 22:09:52 发布
//弹栈例子
void example(int x)
{
if(x == 0)
return;
example(x-1);`
printf("%d\n",x);
}
void main ()
{
example(5);
system("pause");
}