Code for Dummies
Friday, January 21, 2011
Delete linked list
int main() { NODE *p, *temp; while(p) { temp = p; p = p->next; free(temp); } return 0; }
No comments :
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments ( Atom )
No comments :
Post a Comment