title: Assignment inside function that is passed as pointer?
body: <pre><code>ClassA* pa = NULL;
  ClassA* pb = NULL;
  
  void assignObject(ClassA* pa, ClassB* pb) 
  {
    pa = new ClassA;
    pb = new ClassB;
  }
  </code></pre>
  <p>What will be the value of <code>pa</code> and <code>pb</code>  after executing the function?</p>
  <p>EDIT
  how to pass as pointer is the return if pa,pb is NULL</p>