Quote Originally Posted by grumpy View Post
More precisely, ANYTHING is allowed to happen because it is undefined behaviour. A value of zero might be passed to display(). A reformat of your boot drive might be initiated, so display() might never be called. Either way, the behaviour is correct. That is what "undefined" means in the standard: there are no defined limits on what is allowed to happen. Anything an implementation chooses to do is deemed correct.
Umm...the red thing is a link grumpy(psst click on it).