s
This commit is contained in:
parent
9ef8765fcd
commit
f325afdc34
@ -29,7 +29,7 @@ void check_brackets(const char *code) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (top == -1) {
|
if (top == -1) {
|
||||||
printf("All brackets OK\n");
|
printf("All brackets OK");
|
||||||
} else {
|
} else {
|
||||||
printf("Unmatched opening bracket %c\n", stack[top]);
|
printf("Unmatched opening bracket %c\n", stack[top]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user