2012年11月9日

链表与递归

摘要: 1 struct Node 2 { 3 int value; 4 Node *next; 5 }; 6 void readNode(Node *list) 7 { 8 if (list!=NULL) 9 {10 if (list->next!=NULL)11 {12 readNode(list->next);13 }14 printf("%d\t",list->value);15 }16 return;17 }18 void test()19 {20 ... 阅读全文

posted @ 2012-11-09 16:20 lianshisxq 阅读(132) 评论(0) 推荐(0) 编辑

导航