Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  c++
Language: C/C++
Code:
class abc;
class def
{
      int i1;
      protected:int i2;
      public:int i3;
      friend abc;
       };
class abc
{
      public:
             void main(def A)
             {
                  cout<<(A.i1=3);
                  cout<<(A.i2=4);
                  cout<<(A.i3=5);
              }
      };
             
       
void main ( )
{
     def x1;
     abc x2;
     x2.mn(x1)
}
Comments: