Update a1/program.c

This commit is contained in:
Viktor Daniv 2024-10-26 19:47:14 +00:00
parent d35690aa87
commit 98ce9e4cc0

View File

@ -49,7 +49,7 @@ void check_brackets(const char *code) {
// Перевірка, чи всі дужки закриті
if (stack_top >= 0) {
printf("Missing closing bracket: %c\n", expected_close);
printf("Missing closing bracket: %c\n", expected_close(stack[stack_top]));
} else {
printf("All brackets OK\n");
}