Skip to content

Commit

Permalink
Update data_structures/linked_list/stack_using_linked_lists.c
Browse files Browse the repository at this point in the history
Co-authored-by: David Leal <[email protected]>
  • Loading branch information
Shwetik and Panquesito7 authored Sep 30, 2020
1 parent 4d8bfe2 commit c75e9f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data_structures/linked_list/stack_using_linked_lists.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ void pop(struct node *p)

void display(struct node *p)
{
if (top == NULL)
if (top == NULL)
printf("stack is empty\n");
else
{
Expand Down

0 comments on commit c75e9f2

Please sign in to comment.