Question: Which of the following is correct about friend functions?
Options
A : Friend functions use the dot operator to access members of a class using class objects
B : Friend functions can be private or public
C : Friend cannot access the members of the class directly
D : All of the mentioned
Previous ||
Cplusplus Programming Friend Function more questions
On what principle does the braking system in the car....
Which of the following allows complete conversion of mechanical energy?
How will you convert benzene into n-propyl benzene?
Which keyword is used to represent a friend function?
Which of the following is not a type of Constructor?
Which of the following is false with respect to primary....
Name the function whose definition can be substituted at a....
Which of the following is also referred to as Windows....
What are earthworms commonly called as?
Which of the following sites let you create your own....
Chemical Engineering Basics - Part 1 more Online Exam Quiz
C Plus Plus Programming Derived Classes
Cplusplus Programming Exception Handling 1
Cplusplus Programming Exception Handling 2
Cplusplus Programming File Handling
Cplusplus Programming Function Objects
Cplusplus Programming Functions
Cplusplus Programming Function Templates 2