Object Oriented Programming Using C++ – Section 4


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. _____ variables are declared outside of any statement block

A. Area
B. Global
C. Local
D. Reference
E. Value

Correct Answer: B. Global
Advertisement

42. The end of string is recognized by

A. the null character
B. the newline character
C. the $ sign
D. the / sign
E. None of the above

Correct Answer: A. the null character
Advertisement

43. Variable names known only to the procedure in which they are declared are ________

A. local
B. global
C. recent
D. internal

Correct Answer: A. local
Advertisement

44. Whis is true?

A. A derived class may have more than one base class
B. A base class may have more than one derived class
C. both (a) and (b)
D. neither (a) nor (b)

Correct Answer: C. both (a) and (b)
Advertisement

45. The keyword used to define a structure is

A. stru
B. stt
C. struct
D. unlimited

Correct Answer: C. struct
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?