i my project, i have seen copy constructor is kept in private section....what are the advantages of keeping copy constructor in private seciton.....please throw your views.......
Yes, main advantage of private copy constructors is that when you make your copy constructors as a private then it will not allow to copying your object to other class.