Actually, in just about any military organization slapping someone is an instant 'you lose the argument' card. Superior or inferior, it's assault and you're quite likely to be handed a dishonorable discharge over it.
In theory anyway. In practice, superior officers can get away with darn near anything.