Question: Which of the following statements is correct about the program given below?
Options
A : The program reports an error as pointer to member function cannot be defined outside the definition of class.
B : The program reports an error as pointer to static member function cannot be defined.
C : The program reports an error as pointer to member function cannot be defined without object.
D : The program reports linker error.
Objects and Classes - General Questions more questions
Which of the following statements is correct?
What does a class hierarchy depict?
Which of the following can be overloaded?
Which of the following means "The use of an object....
Which of the following is the only technical difference between....
Which of the following statements are correct for a static....
Which of the following type of class allows only one....
Which of the following is not a type of constructor?
Which of the following statements is correct?
Which of the following is not the member of class?
Constructors and Destructors - General Questions more Online Exam Quiz
Constructors and Destructors - General Questions
OOPS Concepts - General Questions