Computer Science - Object Oriented Programming Using C++

41. 

A program will have one function prototype for each function defined in the programmer-defined section of the program. (Assume that the programmer-defined section is located below the main function.)

A. true
B. false

Answer: Option A

Explanation:

No answer description available for this question. Let us discuss.

42. 

The standard input stream, which refers to the keyboard, is called

A. cin
B. cout
C. stin
D. stout
E. None of the above

Answer: Option A

Explanation:

No answer description available for this question. Let us discuss.

43. 

If the code and fee arrays are parallel, the fee that corresponds to the code stored in the code[3] element is located in the _____ element

A. code[2]
B. code[3]
C. fee[2]
D. fee[3]

Answer: Option D

Explanation:

No answer description available for this question. Let us discuss.

44. 

Access specifiers are followed by

A. a comma
B. a semicolon
C. a colon
D. two colons

Answer: Option C

Explanation:

No answer description available for this question. Let us discuss.

45. 

Elements in an array are identified by a unique _____

A. data type
B. order
C. subscript
D. symbol

Answer: Option C

Explanation:

No answer description available for this question. Let us discuss.