C++ Programming - Objects and Classes
Exercise : Objects and Classes - General Questions
- Objects and Classes - General Questions
- Objects and Classes - Programs
21.
Which of the following can be overloaded?
22.
Which of the following means "The use of an object of one class in definition of another class"?
23.
Which of the following is the only technical difference between structures and classes in C++?
24.
Which of the following statements is correct about the program given below?
class Bix
{
public:
static void MyFunction();
};
int main()
{
void(*ptr)() = &Bix::MyFunction;
return 0;
}
25.
Which of the following statements are correct for a static member function?
- It can access only other static members of its class.
- It can be called using the class name, instead of objects.
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers