Chapter 8 Flashcards
activation record
the data structure that composes a call stack
argument
a value that can be passed to the function to be used as input information
argument passing
passing information from calling function to the called function
call stack
a data structure that grows and shrinks at one end according to the rule “last in, first out”
class scope
the area of text within a class
declaration
a statement that introduces a name into a scope specifyind a type for what is named; optionally, specifying an initializer (value or function body)
definition
a declaration that fully specifies the entity declared
extern
keyword states that declaration of the following variable isn’t a definition
statement scope
e.g. in a for-statement
function
named sequence of statements
return
returns a value from a function
global scope
the area of text outside any other scope
pass-by-const-reference
give a function a reference (address) to the actual value and forbid to change it
initializer
an initializer value or a function body
pass-by-reference
a function operate directly on any object to which we pass a reference