I disagree it enhances OP's understanding of software
in general if he gets the answer "it's undefined
behaviour, don't do it (and don't think about it
further)."
That's a poor summary of:
What makes you think so? Just because your implementation
doesn't barf at broken code doesn't mean whatever random
thing it produces is right. ... Neither [is that] in any
way guaranteed. Learn to write legal C; it will help you
much more than your playing with broken code.
Martin challanged the OP to question and try to justify
their assumption. He pointed out that it was wrong. And he
then advised that their time would be better spent in more
constructive programming using correct techniques.