title: C++ object creation
body: <p>I have doubt in creating objects in C++.<br>
  Say I have a class called Employee with some data members and methods.</p>
  
  <p>Now in main function  sometimes I have seen developers using different methods to create objects like  </p>
  
  <pre><code>Employee emp1;                // 1)
  Employee emp2 = new Employee  // 2)
  </code></pre>
  
  <p>My doubt is when we should use case 1 and when to use option 2.</p>