BABAR C++ Course Running the Examples - HEPHY
BABAR C++ Course Running the Examples - HEPHY
BABAR C++ Course Running the Examples - HEPHY
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Variable Scope, Initialization, andLifetimeConsider (ch2/scope.C)void f() {float temp = 1.1;int a;int b;cin >> a >> b;}if (a < b) {int temp = a; // This "temp" hides o<strong>the</strong>r onecout