分类: C/C++
2009-11-06 08:36:23
chinaunix网友2009-12-21 14:01:40
第一题 typedef _node { PNODE next; } NODE,*PNODE; NODE head; PNODE pNode = head->next; PNODE pPrev = NULL; PNODE pTemp; while(pNode->next) { pTemp = pNode; pNode = pNode->next; pTemp->next = pPrev; pPrev = pTemp; } head->next = pPrev;