Created
April 16, 2017 09:49
-
-
Save BlackHC/d7df18fe2192f7154c095711c823cb22 to your computer and use it in GitHub Desktop.
Shadowing of a global variable
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| float a; | |
| void func() { | |
| float a; // This `a` shadows global `a`. | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment