title: Can a Constructor be Private in C++?
body: <p>Can a constructor be private in C++? If yes then how can we call it?</p>
  
  <pre><code>class Puma
  {
      int a = 10;
      Puma()
      {
          cout &lt;&lt; a;
      }
  };
  
  int main()
  {
      Puma pum;
      return o;
  }
  </code></pre>
  
  <p>Can this program run? If not then how can we call <code>Puma()</code> constructor as it is private?</p>