title: Constructor and initialization of custom classes/objects
body: <p>I could imagine this question has already been asked, but I actually could not find any fitting solution, so please excuse if this is a redundant question.</p>
  
  <p>I have a custom class</p>
  
  <pre><code>class myClass_A
  {
  public:
      myClass_A();          // Constructor
      myFunction_A();       // Some function from Class A
  };
  </code></pre>
  
  <p>Now I have another custom class which has a member from the type of <code>myClass_A</code> </p>
  
  <pre><code>class myClass_B
  {
  public:
      myFunction_B();       // Some function from Class B
  
  private:
      myClass_A m_instance; // Instance of Class A
  }
  </code></pre>
  
  <p>Now <code>myFunction_B()</code> wants to call the method <code>myFunction_A()</code> from <code>m_instance</code> kinda like this:</p>
  
  <pre><code>myClass_B::myFunction_B()
  {
      m_instance.myFunction_A();
  }
  </code></pre>
  
  <p>Now if I compile my code ( which is basically like the example I posted above ) it will succeed without any warnings or errors. So my questions would be:</p>
  
  <p><strong>A. Will the constructor be called in this example?</strong></p>
  
  <p><strong>B. Can I actually call methods from an uninitialized object?</strong></p>
  
  <p><strong>C. Assuming the constructor is not called but I can still call the methods from that object -> This means still that the members of my class are not initialized?</strong></p>
  
  <p>Sorry if these questions is kinda stupid but I feel like I am slow on the uptake right now.</p>