Home

Friend function have access to the

A. private and protected members

B. public members only

C. private members only

D. None of the above are correct

Please do not use chat terms. Example: avoid using "grt" instead of "great".

You can do it
  1. The new operator always returns a void pointer.
  2. The ?: can be used to replace
  3. It is possible to allow non member function access to private members of a class by declaring it as
  4. Constructor returns void type value.
  5. Organizing data with methods that operate on the data and creating a new data type is called encapsulation.
  6. What is the value of Friday in the following - enum days { Monday, Tuesday, Wednesday = -1, Thursday,…
  7. The getch() library function
  8. Private data members can be accessed
  9. _____________ operator must have one class object
  10. The break statement causes an exit
  11. The member of a structure can be accessed through a pointer by
  12. A destructor can have a return type.
  13. ios containes a pointer to streambuf.
  14. In a for loop with a multi-statement loop body, semicolons should appear following
  15. A class that contains at least one pure virtual function is called as
  16. new operator is used
  17. The signature of a function is
  18. Member function cannot be called from within a constructor.
  19. The scope resolution operator is -
  20. You can read input that consists of multiple lines of text using
  21. The following syntax is valid. void inline gram_ panchayat :: show_gram_ panchayat_info().
  22. Inline function specifier reduces the overheads associated with a normal function call.
  23. In C++, an identifier must be initialized using constant expression.
  24. We cannot have the address of a constructor.
  25. When a language has the capacity to produce new data type, it is said to be
  26. Overloaded functions
  27. By default, C++ uses the following method of passing arguments
  28. When accessing a structure member, the identifier to the left of the dot operator is the name of
  29. _______ argument(s) are passed in case of unary overloaded operators.
  30. Scope resolution operator has the highest precedence.