Object Oriented Programming Using C++ – Section 9


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

16. “Rohan Motors” is a _____

A. character literal constant
B. numeric literal constant
C. string literal constant
D. variable

Correct Answer:  C. string literal constant
Advertisement

17. A programming structure that contains data and a pointer to the next object is a

A. template
B. class
C. pointer class
D. linked list

Correct Answer:  D. linked list
Advertisement

18. A variable declared in a function is called a(n) _____ variable

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

Correct Answer:   C. local
Advertisement

19. When you write to a file rather than the screen, you use the C++ class _____

A. iostream
B. filed
C. fstream
D. diskclass

Correct Answer:   C. fstream
Advertisement

20. Which of the following numerical value(s) is(are) invalid constant(s)?

A. 0.7
B. 9.3el2
C. 27,512
D. 12345678
E. None of the above

Correct Answer:   C. 27,512
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?