title: Calling private functions from another private function of the same class
body: <p>Can I call private functions from another private function of the same class, for example:</p>
  
  <pre><code>Class A {
  public: 
    double a; 
    double b; 
    wp(a , b);
  
  private: 
     wp1(x);
     wp2(y);
  };
  A::wp(a,b){
    a = wp1(x);
  }
  A::wp1(x){
    x = wp2(y); }
  </code></pre>
  
  <p>I know that in order to access private functions you need to call them from public functions, but can I call private functions from other private functions of the same class? </p>