Skip to content

Commit 400218f

Browse files
ShwetikPanquesito7
andauthored
Update data_structures/linked_list/stack_using_linked_lists.c
Co-authored-by: David Leal <halfpacho@gmail.com>
1 parent 12044c8 commit 400218f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

data_structures/linked_list/stack_using_linked_lists.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ void push(struct node *p)
5151
temp->info = item;
5252

5353
temp->link = top;
54-
top = temp;
54+
top = temp;
5555

5656
printf("inserted succesfully\n");
5757
}

0 commit comments

Comments
 (0)