A ___________ is a section of a program that is written once, and can be used multiple times by calling the subroutine from any point in the program.

A. macro definition
B. macro expansion
C. subroutine
D. directive


C. subroutine

Computer Science & Information Technology

You might also like to view...

The first parameter of product is passed by reference

assume that class Matrix refers to the correctly completed class of #1 and that product is a friend of class Matrix. Here is product's prototype: Function product will store in its first parameter the matrix product of its second and third parameters. ``` void product( Matrix&, const Matrix&, const Matrix& ); ``` a. because product intends to change its value. b. for efficiency, not because any change is intended. c. because objects cannot be passed by value. d. because the first parameter is strictly an input parameter.

Computer Science & Information Technology

Which statement is true about class constructors?

A. Constructors must be called in main. B. Constructors are automatically called when an object is created. C. Constructors are used to get information from object variables. D. Constructors cannot be overloaded.

Computer Science & Information Technology

A(n) ____ is used to show us an array in an Alice world, rather than just creating it in the memory of the computer.

A. Array Visualization Object B. Visual Array Object C. World Array D. Array Instance

Computer Science & Information Technology

A(n) ____ can cause a vast number of damaging actions ranging from profane messages to destruction of files.

A. spike B. brown-out C. UPS D. virus

Computer Science & Information Technology