Data Structures and Data Types Flashcards
1
Q
variable definition + possible scope
A
value in a program that can change
scope = global or local
2
Q
constant defintion
A
value that remains the same throughout the program
3
Q
lifetime of global varibale
A
begins and ceases to exist when program starts and ends
4
Q
lifetime of a local variable
A
begins to exist when it is defined in a subroutine, ceases to exist when subroutine ends