title: Constructor without argument is not called in this program
body: <p>I wrote this simple program in cpp.But constructor without argument is not called.Please help me by saying why is it not getting called..</p>
  
  <p>Out put for the program is </p>
  
  <pre><code>623423
  --------------------------------
  Process exited after 0.07689 seconds with return value 0
  Press any key to continue . . .
  </code></pre>
  
  <p>Program:</p>
  
  <pre><code>#include&lt;iostream&gt;
  class Date{
  int day,month,year;
  public:
  Date();
  Date(int,int);
  Date(int);
  Date(int,int,int);  
  
  };
  Date :: Date(){
      day=10;
      month=5;
      year=19;
      std::cout&lt;&lt;"********************************************";
      std::cout&lt;&lt;day&lt;&lt;month&lt;&lt;year;
  }
  Date :: Date(int a){
      day=a;
      std::cout&lt;&lt;day;
  }
  Date ::Date (int a,int b){
      day=a;
      month=b;
      std::cout&lt;&lt;day&lt;&lt;month;
  }
  Date ::Date(int a,int b,int c){
      day=a;
      month=b;
      year=c;
      std::cout&lt;&lt;day&lt;&lt;month&lt;&lt;year;
  }
  int main(){
      Date one();
      Date two(6);
      Date three(2,3,4);
      Date four(2,3);
  
  
  
      return 0;
  }
  </code></pre>