Home

If class A is friend of class B and if class B is friend of class C, which of the following is true?

A. Class C is friend of class A

B. Class A is friend of class C

C. Class A and Class C do not have any friend relationship

D. None of the above

You can do it
  1. Which of the following relationship is known as inheritancerelationship?
  2. An object is an allocated space in memory.
  3. The && and || operators
  4. When accessing a structure member, the identifier to the left of the dot operator is the name of
  5. Classes are useful because they
  6. The string table in C++ holds the
  7. One of the important features of an abstract class is
  8. The scope resolution operator is -
  9. A constructor cannot be explicitly called.
  10. this' pointer has to be used while accessing data members in a member function.
  11. Pick out the most appropriate statement from the following
  12. What is the value of Friday in the following - enum days { Monday, Tuesday, Wednesday = -1, Thursday,…
  13. main() returns a value of type
  14. Protected members cannot be inherited.
  15. Static data member can be declared as const too.
  16. If class A is friend of class B and if class B is friend of class C, which of the following is…
  17. A variable defined within a block is visible
  18. In a class, only the member function can access data, which is not accessible to outside. This feature…
  19. The value of 'this' pointer can be changed.
  20. A function that is called automatically when an object is created is known as
  21. The new operator always returns a void pointer.
  22. iostream is inheried from istream, ostream and ios class.
  23. A pure virtual function is a virtual function that has
  24. It is possible to allow non member function access to private members of a class by declaring it as
  25. In C++, the exception handler is invoked with a-
  26. A destructor can have arguments like constructor.
  27. When you overload an arithmetic assignment operator, the result
  28. When one object initializes another object the following function is invoked
  29. The member of a structure can be directly accessed by
  30. Static data member occurs in only class scope.