Update a1/program.c
This commit is contained in:
parent
7d962d4d38
commit
ce85b8fd29
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user