Object Oriented Programming Using C++ – Section 4

41. _____ variables are declared outside of any statement block

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

Correct Answer: B. Global

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

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

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)

45. The keyword used to define a structure is

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

Correct Answer: C. struct

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

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

Leave A Comment?