Answer:
It seems that Macbeth speaks to the king (King Duncan) when he is visiting Macbeth's castle in Inverness. It is not specified exactly what Macbeth says to the king, but it is likely that he greets the king and engages in polite conversation with him.