What Happens When We Declare Constructor As Private?

What Happens When We Declare Constructor As Private? If a constructor is declared as private, then its objects are only accessible from within the declared class. You cannot access its objects from outside the constructor class . Can constructor be declared as private in C++? Typically, constructors have public accessibility so that code outside the