set
p
to the right subtree
p = rptr;