Delimeters
// FDS Group D // Q.26) In any language program mostly syntax error occurs due to unbalancing // delimiter such as (),{},[]. Write C++ program using stack to check whether // given expression is well parenthesized or not. #include <iostream> using namespace std ; #define MAX 50 class Stack { char stk [ MAX ]; char expr [ MAX ]; int top = - 1 ; public: Stack (); bool isEmpty (); bool isFull (); void pushData ( char ); char popData (); bool checkExpression (); }; Stack :: Stack () { ...