Home

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. ios containes a pointer to streambuf.
  2. A pure virtual function is a virtual function that has
  3. By default, members cannot be inherited.
  4. When one object initializes another object the following function is invoked
  5. In a for loop with a multi-statement loop body, semicolons should appear following
  6. Element double Array[7] is which element of the array?
  7. In C++, an identifier must be initialized using constant expression.
  8. Inline function specifier reduces the overheads associated with a normal function call.
  9. The new operator always returns a void pointer.
  10. In C++, the keyword auto can be used for
  11. What is the value of Friday in the following - enum days { Monday, Tuesday, Wednesday = -1, Thursday,…
  12. The && and || operators
  13. Public data members can be accessed
  14. The members of a class by default are private.
  15. _____________ operator must have one class object
  16. A base class is inherited by
  17. Scope resolution operator has the highest precedence.
  18. Member function cannot be called from within a constructor.
  19. The signature of a function is
  20. Constructor returns void type value.
  21. Which of the following relationship is known as inheritancerelationship?
  22. The member of a structure can be directly accessed by
  23. The getch() library function
  24. If a friend function is declared inside a class it can access all data members of the class.
  25. this' pointer has to be used while accessing data members in a member function.
  26. :: is known as
  27. Which of the following are good reasons to use an object oriented language?
  28. The characteristic that data can be manipulated only through member functions that are part of the class…
  29. The value of 'this' pointer can be changed.
  30. A copy constructor is used to copy an object member wise to another object of the same class.