title: Handling functions with more than one output parameters
body: <p>How do we handle more than one output parameters in C++.I am beginner in C++ and currently i am trying to write a function A which calls another function B of some other class,Function B consists of 6 parameters in total ,of which three are input parameters and the rest three are output parameters.How can i access all the three output parameters within my function A?I tried to do it in the following way...Can anyone help me to correct my code if i have gone wrong..?Please do help me friends..</p>
  
  <pre><code>class A ::functionA()
     {
        int in_a=1;
        string in_b= "name";
        int in_c=3; 
        int ot_a=0;
        int ot_b=0;
        string ot_s1="" 
  
        ClassB *classB();
        classB = classB.functionB(in_a,in_b,in_c,ot_a,ot_b,ot_s1); //is this way correct?
        ot_a= ? ;
        ot_b=? ;
        ot_s1=?
      }
  </code></pre>
  
  <p>can i use something like ot_a=classB.ot_a ?Please help me...</p>