Please discuss how this relates to Match Play as well as Stroke Play. Information on the Rules or on matters of public information, such as the position of hazards or the flagstick on the putting green, is not advice.
Answers are below.
Player A tells him. Player A hits his shot and makes a misleading statement about his club selection loud enough for Player B, who has a similar shot, to hear. Player A asks Player B the length of the hole about to be played. Player B tells him. Player A has the honor on a Par 3 hole and is about to tee off.