C++ Programming/Scope/Examples/Complicated Scope Program