pass by pointer is not working
<pre><code>#include"iostream"
class CMessage
{
public:int a;
       CMessage(){}
       ~CMessage(){}
};
void Testing(CMessage *f_pMessage)//l_pMessage is output parameter
{
    f_pMessage = new CMessage();
    f_pMessage-&gt;a = 1;
}
int main()
{
    CMessage *l_pMessage =NULL;
    Testing(l_pMessage);
    std::cout&lt;&lt;l_pMessage-&gt;a;//getting l_pMessage = NULL;
    return 0;
}
</code></pre>

<p>when i called testing then inside testing f_pMessage is getting intialize but as ssoon as 
i after excuting testing function it should be store in l_Pmessage but it is showing NULL.confussed.....</p>
