Oops! It appears that you have disabled your Javascript. In order for you to see this page as it is meant to appear, we ask that you please re-enable your Javascript!

Fill up the blanks in C++ – (SET-VIII)

Fill up the blanks in C++ – (SET-VIII)

February 19, 2021 Comments Off on Fill up the blanks in C++ – (SET-VIII) By MANOJ AGARWAL


Fill up the blanks in C++

( SET – VIII )

1. static 2. publicly 3. base class
4. unary 5. dot(.) 6. arrow(->)
7. new 8. friendship 9. non-member
10. data member 11. auto 12. array
13. private 14. derivation 15. array of objects
16. register 17. member 18. binary
19. privately 20. delete 21. extern
22. abstract 23. protected 24. member
25. derived class 26. nested 27. public
28. base class 29. array of pointers



1. The ………………. declaration specifies that the object can be used between separate transaction units of program.

2. A structure may be dynamically created using the ……………….. operator.

3. The structure pointer operator is …………………….

4. The class from which other class inherits is a ……………………

5. A ………………… function is used to retrieve values of the private data of a class.

6. The protected members are inherited as private when inherited …………………

7. An ………………….. operator when overloaded, takes one argument.

8. A global anonymous union must be declared as …………………..

9. A …………………… class is one that contains another class definition.

10. Use of ………………… variables reduces the size of the program and improves the performance.

11. The default storage class for variables is ……………………

12. …………………… allows the encapsulation of functions within that class alone.

13. ……………………. allows the encapsulation of function with in that class and derived class.

14. When a base class is inherited publicly, the ……………….. members of the base class become the public members of derived class.

15. ……………………. is used to deallocate memory allocated with new.

16. A base class that has a pure virtual member function is an ………………. class.

17. A base class is inherited by …………………..

18. A class contains ………………………. and methods that operate on these.

19. The …………………… operator is used to access the members of a class.

20. An array having class type elements is known as ……………………..



ANSWERS TO FILL UP THE BLANKS

(SET-VIII)

1.  extern                 2.  new                    3.  arrow(->)

4.  base class            5.  member              6.  privately

7.  binary                 8.  static                   9.  nested

10.  register              11.  auto                  12.  private

13.  protected           14.  public                15.  delete

16.  abstract             17.  derived class      18.  data members

19.  dot(.)                 20.  array of objects.

Comments are closed
x Close

Like Us On Facebook

You cannot copy content of this page.