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 yup
  1. The new operator always returns a void pointer.
  2. The ?: can be used to replace
  3. The member of a structure can be directly accessed by
  4. A pure virtual function is a virtual function that has
  5. _______ argument(s) are passed in case of unary overloaded operators.
  6. Class is similar to a variable.
  7. The value of 'this' pointer can be changed.
  8. Inline function specifier reduces the overheads associated with a normal function call.
  9. Public data members can be accessed
  10. An object is an allocated space in memory.
  11. If class A is friend of class B and if class B is friend of class C, which of the following is…
  12. By default, members cannot be inherited.
  13. A member function can always access the data
  14. The getch() library function
  15. The declaration int **var1; shows that
  16. In C++, the stream base class is
  17. When one object initializes another object the following function is invoked
  18. Dynamic memory can be allocated by the following declaration
  19. When you overload an arithmetic assignment operator, the result
  20. A variable defined within a block is visible
  21. A direct access file is:
  22. Friend function have access to the
  23. The signature of a function is
  24. In a class, only the member function can access data, which is not accessible to outside. This feature…
  25. Static data member occurs in only class scope.
  26. iostream is inheried from istream, ostream and ios class.
  27. Pick out the most appropriate statement from the following
  28. "[]" Operator is a unary operator.
  29. Operator overloading is
  30. One of the important features of an abstract class is