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. The following syntax is valid. void inline gram_ panchayat :: show_gram_ panchayat_info().
  2. A copy constructor is used to copy an object member wise to another object of the same class.
  3. When you overload an arithmetic assignment operator, the result
  4. The binding that binds a function call at run time is called
  5. A function that is called automatically when an object is destroyed is known as
  6. new operator is used
  7. By default, C++ uses the following method of passing arguments
  8. The signature of a function is
  9. this' is an implicit pointer.
  10. If class A is friend of class B and if class B is friend of class C, which of the following is…
  11. The break statement causes an exit
  12. One of the major disadvantage with late binding is
  13. Constructor returns void type value.
  14. Inline functions_____________ call overload.
  15. The characteristic that data can be manipulated only through member functions that are part of the class…
  16. In C++, the exception handler is invoked with a-
  17. The template function declaration specifies
  18. A constructor cannot be explicitly called.
  19. In C++, the keyword auto can be used for
  20. A function that is called automatically when an object is created is known as
  21. Protected data members can be accessed
  22. Which of the following are good reasons to use an object oriented language?
  23. In C++, the stream base class is
  24. The member of a structure can be directly accessed by
  25. The && and || operators
  26. The getch() library function
  27. Dynamic memory can be allocated by the following declaration
  28. The new operator always returns a void pointer.
  29. Which of the following can legitimately be passed to a function?
  30. A destructor can have a return type.