Q:

Find the output of the program:

0

Find the output of the program:

class education
{ 
 char name[10];
 public : disp()
 { 
  cout<<”Its education system”;
 }
 class school:public education
 {
  public: void dsip()
  { 
   cout<<”Its school education system”;
  }
    };
 void main()
 {
                school s;
                s.disp();
 }
}

  1. Its school education system
  2. Its education system
  3. Its school education systemIts education system
  4. Its education systemIts school education system

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

 (a).Its school education system

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

OBJECT ORIENTED PROGRAMMING OOPS CONCEPT AND FEATURES MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
Polymorphism is possible in C language... >>
<< Which among the following can show polymorphism?...