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 yup
  1. Protected data members can be accessed
  2. We cannot have the address of a constructor.
  3. By default, members cannot be inherited.
  4. We can make function inline by using the keyword 'inline'.
  5. When one object initializes another object the following function is invoked
  6. The break statement causes an exit
  7. What is the value of Friday in the following - enum days { Monday, Tuesday, Wednesday = -1, Thursday,…
  8. The following syntax is valid. void inline gram_ panchayat :: show_gram_ panchayat_info().
  9. A direct access file is:
  10. By default, C++ uses the following method of passing arguments
  11. In a for loop with a multi-statement loop body, semicolons should appear following
  12. The member of a structure can be directly accessed by
  13. The value of 'this' pointer can be changed.
  14. A function that is called automatically when an object is created is known as
  15. If class A is friend of class B and if class B is friend of class C, which of the following is…
  16. Which of the following can legitimately be passed to a function?
  17. The binding that binds a function call at run time is called
  18. If a friend function is declared inside a class it can access all data members of the class.
  19. A base class is inherited by
  20. In C++, the keyword auto can be used for
  21. You can read input that consists of multiple lines of text using
  22. Objects get destroyed in the reverse order as they are created.
  23. Which of the following is true about const member functions?
  24. The exception is processed using
  25. One of the important features of an abstract class is
  26. The member of a structure can be accessed through a pointer by
  27. Pick out the most appropriate statement
  28. Static member functions have file scope.
  29. new operator is used
  30. When a language has the capacity to produce new data type, it is said to be