倒序打印链表

采用递归的方式打印链表:函数 当咱们将后面的处理完再打印递归 利用递归的方法咱们必定要肯定其出口即何时进行返回List void ResverPrintList(pNode pHead) {     if (NULL == pHead)         return;     if (pHead->_pNext)         ResverPrintList(pHead->_pNext);  
相关文章
相关标签/搜索