Object Oriented Programming Using C++ – Section 8


Warning: Undefined variable $ext in /www/wwwroot/gkfeed.com/public_html/wp-content/plugins/show-hidecollapse-expand/bg_show_hide.php on line 281

Warning: Undefined variable $ext in /www/wwwroot/gkfeed.com/public_html/wp-content/plugins/show-hidecollapse-expand/bg_show_hide.php on line 281

Warning: Undefined variable $ext in /www/wwwroot/gkfeed.com/public_html/wp-content/plugins/show-hidecollapse-expand/bg_show_hide.php on line 281

Warning: Undefined variable $ext in /www/wwwroot/gkfeed.com/public_html/wp-content/plugins/show-hidecollapse-expand/bg_show_hide.php on line 281

Warning: Undefined variable $ext in /www/wwwroot/gkfeed.com/public_html/wp-content/plugins/show-hidecollapse-expand/bg_show_hide.php on line 281

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

Correct Answer:  A. true
Advertisement

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

Correct Answer:  A. cin
Advertisement

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]

Correct Answer:  D. fee[3]
Advertisement

44. Access specifiers are followed by

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

Correct Answer:  C. a colon
Advertisement

45. Elements in an array are identified by a unique _____

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

Correct Answer:  C. subscript
Advertisement

Warning: Undefined variable $in_same_cat in /www/wwwroot/gkfeed.com/public_html/wp-content/plugins/EXP.GKFEED.COM/function.php on line 27

Warning: Undefined variable $excluded_categories in /www/wwwroot/gkfeed.com/public_html/wp-content/plugins/EXP.GKFEED.COM/function.php on line 27

Leave A Comment?