Question
A constructor is a special kind of member function. It is automatically called when an object of that class is declared True False A class
A constructor is a special kind of member function. It is automatically called when an object of that class is declared True False
A class can have friends that are functions as well as friend classes.
True False
Inline functions are always more efficent than noninline functions. True False
A function can return an array.
True False
Overloaded operator <<, when used as an output, returns an ostream& to allow chains of output statements, and similarly the overloaded operator >> returns an istream&
True False
The functions or data members declared in the private: section of a class can be accessed only in the definition those functions declared in that class. Note that friend functions are also declared (but not defined) in the class to which they are friends, so they also have access to private as well as public members.
True False
Using const is only useful in passing parameters to functions.
True False
Overloading a binary operator as a stand-alone function requires two arguments.
True False
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started