Write a program of constructor overloading.
#include<iostream.h> #include<conio.h> class o1 { public: o1() { cout<<"Hello"<<endl; } o1(int j) { for(int k=0;k<j;k++) cout<<k<<endl; } }; main() { clrscr(); o1 l1; o1 l2(5); }