Is it possible to create an object of a class using new operator inside the namespace?
<p><br>
Let me consider the following example!</p>

<pre><code>namespace nSpace {  
  class Addition {  
    int val1;  
    int val2;  
  public:  
    Addition(int firstVal, int secondVal) {  
      this.val1 = firstVal;  
      this.val2 = secondval;  
    }  
    void sum() {  
      cout&lt;&lt;"sum of val1 and val2 = " &lt;&lt;this.val1 + this.val2&lt;&lt;"\n";  
    }  
  };  

  Addition Addobj = new Addition(2, 3);  // Is it possible ? if not, any other way ?  
  Addobj.sum();  
}  
</code></pre>

<p>If not, do let me know the reason. </p>

<p>Thank you!</p>
