What is the rule for a sentence that is both a question and an exclamation at the same time? Can you use either punctuation?

Would it be:

"How dare you?"
or could it be:
"How dare you!"

"What the hell is that thing?"
"What the hell is that thing!"