//遍历栈
Status StackTraverse(SqStack S, Status(*Visit(ElemType)))
{
while(S.bottom != S.top)
{
Visit(*--S.top);
}
return OK;
}
//visit函数
Status Visit(ElemType e)
{
printf("%d\n", e);
return OK;
}
主函数中怎么调用StackTraverse函数,第二个参数应该怎么写
汪汪一只猫
繁星coding
C语言中的malloc函数有什么作用?怎么使用?
C语言中函数调用
关于右边的C语言库函数
136、以下对C语言函数的有关描述中,正确的是