Which of the followings is/are not false about friend function ?
1. It can be called / invoked with class object
2. It has objects as arguments
3. It can have built-in types as arguments
4. It must declared only in public part of a class
5. It does not have this pointer as an argument
a. Only 2,4
b. Only 1,2,5
c. Only 2,3,5
d. All of these
Submitted by: Administratorc. Only 2,3,5
Submitted by:
Submitted by:
Read Online C++ Access Control Job Interview Questions And Answers
Top C++ Access Control Questions
☺ | Do you know private, protected and public access control? |
☺ | What is Private Inheritance? |
☺ | Explain different access specifiers for the class member in C++? |
☺ | What is Protected Inheritance? |
☺ | What is Public Inheritance? |
Top C Plus Plus Language Categories
☺ | C++ Pointers & Functions Interview Questions. |
☺ | C++ Operator Overloading Interview Questions. |
☺ | C++ Exception Handling Interview Questions. |
☺ | C++ Virtual Functions Interview Questions. |
☺ | C++ Template Interview Questions. |