שפת C/ניהול זיכרון דינאמי: הבדלים בין גרסאות בדף

תוכן שנמחק תוכן שנוסף
שורה 346:
int main()
{
link *head = NULL;
do
{
שורה 359 ⟵ 360:
 
l->data = d;
l->next = list->head;
 
head = l;
שורה 372 ⟵ 373:
while(list_size(&lst) > 0)
{
link *const l = list->head;
const int d = l->data;