Tech: Artificial Intelligence AI, Blockchain, Augmented Reality, Software, Programming, and more
Saturday, March 6, 2021
Free a linked list in C
while(list!=NULL)
{
node *tmp=list->next;
free(list);
list=tmp;
}
source: harvard cs50, david malan
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)