Zelda took the Ocarina of Time before she sent him back remember? It was later that she gave it to him and he went off to do his thing in MM, they obviously did become friends within this time, but I personally don't think Link told the king of Ganon, because if he never opened the door of time...