Object Oriented Programming Using C++ – Section 7


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

36. Which of the following stream manipulators advances the cursor to the next line on the computer screen?

A. adin
B. advin
C. edlin
D. endl
E. lineadv

Correct Answer:  D. endl
Advertisement

37. 6.5 is a _____ constant

A. character literal
B. named literal
C. numeric literal
D. string literal

Correct Answer:  C. numeric literal
Advertisement

38. The time and memory involved in calling a function represent the function’s _____

A. prototype
B. overhead
C. cost
D. burden

Correct Answer:  B. overhead
Advertisement

39. Which function is most likely to have procedural cohesion?

A. main()
B. findSquareRoot()
C. getSaleSubtractDiscountAddTax()
D. openFiles()

Correct Answer:  A. main()
Advertisement

40. A pointer is

A. the address of a variable
B. an indication of the variable to be accessed next
C. a variable for storing addresses
D. the data type of an address variable

Correct Answer:  C. a variable for storing addresses
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?