C语言题目求解Write a function bool balanced(const char str[]) that takes in a string containing various types of parentheses (and possibly other characters), and determines if the parentheses of each type are balanced. A string of parentheses is balanced if every parenthesis is closed in the ...