Hi ,
Sorry for this basic question, i am stuck, with somethings,
I have a class
class A{
int * mem_ptr;
}
then somewhere in the code:
if ( mem_ptr == NULL )
{
mem_ptr = new int;
}
Is it safe to assume that mem_ptr is NULL when the class A object is created ?