Compiler Homework 2 (Due Tuesday 21 June 2548)
- Write a data definition for a ternary
tree.
- Write C code for the above data
definition
- Write at least 5 data examples for the
above data definition
- Write a function (nNode)
to count number of nodes in a ternary tree
- Write a function (showInorder)
to show the content of a ternary tree in an inorder
fashion.