Rules Guy: How should a wrong-ball penalty be assessed when playing both match and stroke play?

Golfers talking in a circle on course

What do the rules say about assessing a penalty when you're playing two different formats in the same round?

Getty Images

generic profile image