Exam 7: Modularity Using Functions: Part II

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Except for symbolic constants and function prototypes, local variables should almost never be used.

(True/False)
4.8/5
(34)

The variable secnum is ____. Int main() { Int secnum; ) . . }

(Multiple Choice)
4.8/5
(27)

Coding a function prototype as ____ makes sense when the function is used by a number of other functions in a source code file.

(Multiple Choice)
4.8/5
(37)

When the function returns control to its calling function, its ____ variables "die".

(Multiple Choice)
4.8/5
(44)

A variable with a ____ scope is simply one that has had storage locations set aside for it by a declaration statement made within a function body.

(Multiple Choice)
4.9/5
(42)

A declaration statement that specifically contains the word ____ is different from every other declaration statement in that it does not cause the creation of a new variable by reserving new storage for the variable.

(Multiple Choice)
4.8/5
(45)

____ is a high-speed storage area physically located in the computer's processing unit.

(Multiple Choice)
4.9/5
(33)

The scope of a variable can be thought of as the space within the program where the variable is valid.

(True/False)
4.7/5
(39)

Pointers can be used to change constants.

(True/False)
4.7/5
(45)
Showing 41 - 49 of 49
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)