Copy constructor ka use karte kyo hai. ham ek obje

#include
#include<conio.h>
using namespace std;
class soni
{
private:
int id;
char nm[20];
char colg[20];
public:
void input()
{
cout<<"\n Student Id “;
cin>>id;
cout<<”\n Name “;
cin>>nm;
cout<<”\n College “;
cin>>colg;
}
void show()
{
cout<<”\n Your id = “<<id;
cout<<”\n your Name = “<<nm;
cout<<”\n Your College = "<<colg;
}
};
int main()
{
system(“cls”);
soni s1,s2;
s1.input();
s2=s1;
s2.show();
getch();
return(0);
}