#include using namespace std; class Copy { int var, fact; public: Copy(int temp) { var = temp; } Copy(const Copy &obj) // the copy constructor { cout << "In copy constructor ..." << endl; // But there isn't any code in here to actually do a copy } double calculate() { fact=1; for(int i=1;i<=var;i++) { fact = fact * i; } return fact; } }; int main() { int n; cout<<"Enter the Number : "; cin>>n; Copy obj = Copy(n); Copy cpy = obj; // Copy Constructor is invoked automatically Copy cpy2(2); cpy2=obj; // Assignment Operator is invoked cout<<"\n Original Factorial is: "<