Count Balanced Parentheses In C. The problem I am facing is that when the test case value is