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
6. You have assigned the address of Value to the pointer P, Which statement will display the value stored in Value?
A. cout<<P;
B. cout<<*Value;
C. cout<<&P;
D. cout<<*P;
Advertisement
7. A constructor initialization list is preceded by
A. a. semicolon
B. a colon
C. two colons
D. a space
Advertisement
8. In C++, a function contained within a class is called
A. a member function
B. an operator
C. a class function
D. a method
Advertisement
9. Which of the following statements will create and initialize a feelnfo array named fee?
A. fee feeInfo = {{0}, {0}};
B. fee as feeInfo = 0, 0;
C. feeInfo fee = 0, 0;
D. feeInfo fee = [{0}, {0}];
E. feeInfo fee = {0,0};
Advertisement
10. Which of the following is the scope resolution operator?
A. ->>
B. ::
C. *
D. &
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
< PREVIOUS POSTObject Oriented Programming Using C++ - Section 9