enum nodeType { BIOP, UNOP, LTTR }; typedef struct node { enum nodeType type; char el; struct node *child[2]; } node; node * parse(char *str); void printTree(node *root, int level);