Object Oriented Programming Using C++ – Section 11


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

1. A function whose purpose is to send messages to other functions is known as a _____

A. dispatcher
B. courier
C. messenger
D. sender

Correct Answer:  A. dispatcher
Advertisement

2. With commercial classes, the function source code is usually________

A. printed on high-quality paper
B. poorly written
C. provided on a disk
D. provided in object form

Correct Answer:  D. provided in object form
Advertisement

3. The type of value that a function sends back to the function that calls it is known as its _____

A. type
B. return value
C. reference data
D. sentinel

Correct Answer:  B. return value
Advertisement

4. Assume that a program includes the short *agePtr = NULL; statement. The name of the pointer is _____

A. *agePtr
B. agePtr

Correct Answer:  B. agePtr
Advertisement

5. Which of the following are never inherited?

A. public data members
B. constructor functions
C. void functions
D. overloaded + operators

Correct Answer:  B. constructor functions
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?