An open API service indexing awesome lists of open source software.

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

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