SE250:lab-8:hbar055

From Marks Wiki
Jump to navigation Jump to search
int main(void){
 ParseTree* t= mkNode('-', mkNode('-', mkNode('a',0),mkNode('b',0),0),0);
 prefix_tree(t);
 tree_to_graph(t,"tree_to_graph.jpg");
 return 0;
}

Output:

-(-(a b))