struct TestStruct
{
int *p;
};
TestStruct *TP;
TP=new TestStruct;
(*TP).p=new int;
delete TP;
Is p free?
[Non-text portions of this message have been removed]
struct TestStruct
{
int *p;
};
TestStruct *TP;
TP=new TestStruct;
(*TP).p=new int;
delete TP;
Is p free?
[Non-text portions of this message have been removed]