notes when temp becomes nilthe new node is inserted as left child of the node pointed to by temp if data value of the node pointed to by temp is greater than data value supplied as parameter otherwise the new node is inserted as right child of node pointed to by temp therefore the insert procedure is void insert(tnode *pint valtnode *temp *temp if ( =nullp new(tnode) ->data valp-> child nullp->rchild nullelse temp pwhile(temp !nulltemp temp if(temp ->data valtemp temp -> eftelse temp temp ->rightif(temp ->data valtemp ->left new(tnode)temp temp ->lefttemp ->data valtemp ->left nulltemp ->rightnullelse temp ->right new(tnode)temp temp ->righttemp ->data valtemp ->left nulltemp ->right null lovely professional university