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

You can do it
  1. In a for loop with a multi-statement loop body, semicolons should appear following
  2. Pick out the most appropriate statement
  3. Data objects can be initialized when allocating memory using 'new'.
  4. The value of 'this' pointer can be changed.
  5. The following syntax is valid. void inline gram_ panchayat :: show_gram_ panchayat_info().
  6. Classes are useful because they
  7. The template function declaration specifies
  8. _____________ operator must have one class object
  9. The scope resolution operator is -
  10. A destructor can have a return type.
  11. The ?: can be used to replace
  12. Which of the following relationship is known as inheritancerelationship?
  13. If a friend function is declared inside a class it can access all data members of the class.
  14. :: is known as
  15. In C++, the keyword auto can be used for
  16. By default, C++ uses the following method of passing arguments
  17. In case of nested class, enclosing class can directly access the private data member of nested class.
  18. The declaration int **var1; shows that
  19. The characteristic that data can be manipulated only through member functions that are part of the class…
  20. Static data member can be declared as const too.
  21. _______ argument(s) are passed in case of binary overloaded operators.
  22. The getch() library function
  23. The new operator always returns a void pointer.
  24. this' pointer has to be used while accessing data members in a member function.
  25. Private members of a structure can be accessed directly from the outside of the structure.
  26. A normal C++ operator that acts in a special way on newly defined data types is said to be
  27. The library function exit() causes an exit from
  28. In C++, the exception handler is invoked with a-
  29. When a language has the capacity to produce new data type, it is said to be
  30. The signature of a function is