https://github.com/fl444mingo/fl4-cs131-04-03-scope
Ch. 4, Lesson 3, Scope of Read/Write Reference
https://github.com/fl444mingo/fl4-cs131-04-03-scope
cpp learning learning-cpp
Last synced: 12 months ago
JSON representation
Ch. 4, Lesson 3, Scope of Read/Write Reference
- Host: GitHub
- URL: https://github.com/fl444mingo/fl4-cs131-04-03-scope
- Owner: Fl444mingo
- Created: 2025-03-27T02:52:17.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-03-27T02:55:36.000Z (over 1 year ago)
- Last Synced: 2025-06-06T08:05:08.106Z (about 1 year ago)
- Topics: cpp, learning, learning-cpp
- Language: C++
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FL4-CS131-04-03-Scope
Instructor-provided program to distinguish what scopes of reference variable initialization location allows for
Learned:
- Initializing variables outside of functions (usually at the very beginning of code with the #includes) means they are global; every function can access them
- You can have multiple of the same variable type with the same name if they are in different functions, as those functions cannot see inside each other