Object Oriented Programming Using C++ – Section 5


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

11. The variables declared in a statement block or listed in a function header’s parameter list are considered _____ variables

A. area
B. global
C. local
D. reference
E. value

Correct Answer: C. local
Advertisement

12. An expression

A. is a collection of data objects and operators that can be evaluated to a single value
B. is a name that substitutes for a sequence of characters
C. causes the computer to carry out some action
D. All of the above
E. None of the above

Correct Answer: A. is a collection of data objects and operators that can be evaluated to a single value
Advertisement

13. In the C language, the character type of constant is delimited by using

A. single quotes
B. double quotes
C. parenthesis
D. #
E. None of the above

Correct Answer: A. single quotes
Advertisement

14. One way in which a structure differs from an array is that _____

A. a structure may have members of more than one type
B. a structure must have members that; are all the same type
C. art array may have members of more than one type
D. there is no difference between a structure and an array

Correct Answer: A. a structure may have members of more than one type
Advertisement

15. A default constructor _____

A. takes no arguments
B. has default values for all its arguments
C. either (a) or (b)
D. neither (a) nor (b).

Correct Answer: C. either (a) or (b)
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?