为什么我写
int main()
{
showlist (creat());
showlist (reverse(head));
}正常
然而
int main()
{
showlist (creat());
reverse(head)
showlist (head));
}只输出表头一个数
showlist是输出链表所有数的函数
creat 创建链表
reverse逆置函数原型ex* reverse(ex *head)
因为我的head是全局变量 所以我觉得是一样的