call preorder to traverse tree's left subtree; similarly for tree's right subtree

preorder(&l);

r = right(*ptree);

preorder(&r);