From ce85b8fd29a115c5f30af7cbe13d103f1ea3e3e7 Mon Sep 17 00:00:00 2001 From: Yurii Chechur Date: Thu, 24 Oct 2024 20:39:07 +0000 Subject: [PATCH] Update a1/program.c --- a1/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/a1/program.c b/a1/program.c index ba05f81..ebaa913 100644 --- a/a1/program.c +++ b/a1/program.c @@ -64,7 +64,7 @@ int main() { if (top != -1) { char expected = expectedClosing(stack[top]); printf("Missing closing brackets: %c\n", expected); - return 1; + return 0; } printf("All brackets OK\n");