*/
//翻转 返回新的头指针 请传入当前的头
Button_t * Button_Reverse(Button_t *head)
{
if(head == NULL)
return head;
//printf("%d# ",head->data );
Button_Reverse(head->Next);
printf("%d ",head->data );
}
/*
//翻转 返回新的头指针 请传入当前的头
Button_t * Button_Reverse(Button_t *head)
{
if(head!=NULL)
{
if(head->Next != NULL)
Button_Reverse(head->Next);
printf("%d ",head->data );
}
}
*/
递归入门
https://jingyan.baidu.com/article/95c9d20d56550aec4e75613d.html