E
edu.mvk
Hi,
in the below statement :
class A {
int *i;
A(){
};
main()
{
A* a=new A();
}
if suppose the constructor A() will create a socket and while doing
that it fails and we didnt catch the exception then will the variable
"a" gets the memory..??
in the below statement :
class A {
int *i;
A(){
};
main()
{
A* a=new A();
}
if suppose the constructor A() will create a socket and while doing
that it fails and we didnt catch the exception then will the variable
"a" gets the memory..??