Question
a.
the class allowing access to another class
b.
the class desiring access to another class
c.
the private section of a class
d.
the public section of a class
Posted under Data Structures and Algorithms
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. The keyword friend does not appear in
Similar Questions
Discover Related MCQs
Q. The process of building new classes from existing one is called
View solution
Q. If you wanted to sort many large objects or structures, it would be most efficient to
View solution
Q. A friend function to a class, C cannot access
View solution
Q. The operator that cannot be overloaded is
View solution
Q. A struct is the same as a class except that
View solution
Q. Pure virtual functions
View solution
Q. Additional information sent when an exception is thrown may be placed in
View solution
Q. Use of virtual functions implies
View solution
Q. this pointer
View solution
Q. Within a switch statement
View solution
Q. Data members which are static
View solution
Q. Which of the following is false for cin?
View solution
Q. It is possible to declare as a friend
View solution
Q. In multiple inheritance
View solution
Q. Declaration of a pointer reserves memory space
View solution
Q. for (; ;)
View solution
Q. The operator << when overloaded in a class
View solution
Q. A virtual class is the same as
View solution
Q. Identify the operator that is NOT used with pointers
View solution
Q. Consider the following statements
char *ptr;
ptr = “hello”;
cout << *ptr;
What will be printed?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Data Structures and Algorithms? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!