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");