From c75e9f26f46e955fe64a0796b52138b9afae7f3f Mon Sep 17 00:00:00 2001 From: Shezza221b <41204318+Shezza221b@users.noreply.github.com> Date: Thu, 1 Oct 2020 05:19:38 +0530 Subject: [PATCH] Update data_structures/linked_list/stack_using_linked_lists.c Co-authored-by: David Leal --- data_structures/linked_list/stack_using_linked_lists.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data_structures/linked_list/stack_using_linked_lists.c b/data_structures/linked_list/stack_using_linked_lists.c index ec1e417530..0e10554af3 100644 --- a/data_structures/linked_list/stack_using_linked_lists.c +++ b/data_structures/linked_list/stack_using_linked_lists.c @@ -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 {