#include <iostream>
using namespace std;

class B
{
  public:  
  B(int x  ) //default constructor
  {
    cout << "Constructor called" << endl;
  }    

  B(const B &b)  //copy constructor
  {
     cout << "Copy constructor called" << endl;
  } 
  
  B& operator=(int rhs)
  {
    cout << "Assignment operator" << endl;
  }
};

int main()
{ 

  B ob =5; 
  ob=6;
  ob=7;

  return 0;
}