2-Storage Classes Flashcards
1
Q
What does a storage class define regarding variables?
A
Life-time
Visibility
Scope
2
Q
Auto
A
The default storage class for all local variables
3
Q
Register
A
to define local variables that should be stored in a register instead of RAM
4
Q
Static
A
Instructs the compiler to keep a local variable in existence during the life-time of the program
5
Q
extern
A
to give a reference of a global variable that is visible to ALL the program files