Structure of the Problem RequirementsConstructors are used to initialize the objects when they created. A constructor could be overload many times as increasing its Parameters. Constructor has same name which is class name and it has no data types . If we doesn't create a constructor in any class then compiler create a default constructor.
using namespace std;
void set_name (string n);
cout<<" \t \t \t Hi Visitor ! \n \n ";
void LEP:: set_name(string n)
name = n;
int main ()
L.set_name(" \t We Welcome You to www.ancodingpoint.com ! ");