If a friend function is declared inside a class it can access all data members of the class.

A. True

B. False

You can do it
  1. Protected members cannot be inherited.
  2. An object is an allocated space in memory.
  3. A function that is called automatically when an object is created is known as
  4. You can read input that consists of multiple lines of text using
  5. A base class is inherited by
  6. _______ argument(s) are passed in case of binary overloaded operators.
  7. When you overload an arithmetic assignment operator, the result
  8. What is the output of the following program segment - for(i = 1, j = 0; i < 10; i++) j += i; cout…
  9. this' pointer has to be used while accessing data members in a member function.
  10. What is the value of Friday in the following - enum days { Monday, Tuesday, Wednesday = -1, Thursday,…
  11. In C++, an identifier must be initialized using constant expression.
  12. The following syntax is valid. void inline gram_ panchayat :: show_gram_ panchayat_info().
  13. Pick out the most appropriate statement from the following
  14. The scope resolution operator is -
  15. The break statement causes an exit
  16. A function that is called automatically when an object is destroyed is known as
  17. Constructor returns void type value.
  18. The string table in C++ holds the
  19. The member of a structure can be accessed through a pointer by
  20. The ?: can be used to replace
  21. By default, members cannot be inherited.
  22. When a language has the capacity to produce new data type, it is said to be
  23. Class members are _______________ by default
  24. _____________ operator must have one class object
  25. A pure virtual function is a virtual function that has
  26. Which of the following relationship is known as inheritancerelationship?
  27. By using protected, one can create class members that are private to their class but
  28. Scope resolution operator has the highest precedence.
  29. Overloaded functions
  30. If class A is friend of class B and if class B is friend of class C, which of the following is…