the input is not a null binary tree, so allocate storage for t and create the binary tree t
t = avail();
createtree(&t);