Home

Which of the following relationship is known as inheritancerelationship?

A. ‘has-a’ relationship

B. ‘is-a’ relationship

C. association relationship

D. none of the above

Please do not use chat terms. Example: avoid using "grt" instead of "great".

You can do it
  1. cc ___________ option is used only to create object file
  2. iostream is inheried from istream, ostream and ios class.
  3. Objects get destroyed in the reverse order as they are created.
  4. this' is an implicit pointer.
  5. A destructor can have a return type.
  6. In C++, an identifier must be initialized using constant expression.
  7. Which of the following can legitimately be passed to a function?
  8. Constructor returns void type value.
  9. When accessing a structure member, the identifier to the left of the dot operator is the name of
  10. Which of the following are good reasons to use an object oriented language?
  11. this' pointer has to be used while accessing data members in a member function.
  12. The signature of a function is
  13. main() returns a value of type
  14. The value of 'this' pointer can be changed.
  15. A copy constructor is used to copy an object member wise to another object of the same class.
  16. The following syntax is valid. void inline gram_ panchayat :: show_gram_ panchayat_info().
  17. "[]" Operator is a unary operator.
  18. When you overload an arithmetic assignment operator, the result
  19. Delete operator is used
  20. The declaration int **var1; shows that
  21. The ?: can be used to replace
  22. If class A is friend of class B and if class B is friend of class C, which of the following is…
  23. Which of the following is true about const member functions?
  24. The exception is processed using
  25. We cannot have the address of a constructor.
  26. The string table in C++ holds the
  27. In C++, the keyword auto can be used for
  28. Sharing of common information are achieved by the concept of
  29. The members of a class by default are private.
  30. Operator overloading is