Re:Q: Why can I access an out-of-scope C++ var? A: So you re...
by pyrtsa on Thursday June 23, 2011 @01:34AM
(#2686797)
Yeah, the hotel room analogy breaks as soon as you realize that visiting some completely other hotel room will already overwrite that variable in the first one.
But it was a fun story, though.