#include<iostream> #include <cstdio> using namespace std; typedef struct LNode { char data; struct LNode* next; }LNode; typedef struct { LNode* top; int counter; }Link_Stack; int push(Link_Stack*& S, char q); int