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 is true about const member functions?
  2. We can make function inline by using the keyword 'inline'.
  3. It is possible to allow non member function access to private members of a class by declaring it as
  4. A normal C++ operator that acts in a special way on newly defined data types is said to be
  5. Overloaded functions
  6. The members of a class by default are private.
  7. this' pointer has to be used while accessing data members in a member function.
  8. Dynamic memory can be allocated by the following declaration
  9. new operator is used
  10. The characteristic that data can be manipulated only through member functions that are part of the class…
  11. The value of 'this' pointer can be changed.
  12. One of the important features of an abstract class is
  13. main() returns a value of type
  14. The members of a class can be made private by
  15. _______ argument(s) are passed in case of binary overloaded operators.
  16. If class A is friend of class B and if class B is friend of class C, which of the following is…
  17. The member of a structure can be directly accessed by
  18. The scope resolution operator is -
  19. Friend function have access to the
  20. A direct access file is:
  21. A variable defined within a block is visible
  22. Organizing data with methods that operate on the data and creating a new data type is called encapsulation.
  23. In C++, the stream base class is
  24. In a for loop with a multi-statement loop body, semicolons should appear following
  25. The binding that binds a function call at run time is called
  26. What is the output of the following program segment - for(i = 1, j = 0; i < 10; i++) j += i; cout…
  27. Classes are useful because they
  28. By default, C++ uses the following method of passing arguments
  29. _______ argument(s) are passed in case of unary overloaded operators.
  30. The library function exit() causes an exit from