M
mangesh
class B
{
public :
void f() = 0 ;
};
class D : public B
{
public :
void f()
{
}
};
int main()
{
D d ;
int s = sizeof(d);
return 0 ;
}
now value of s will be different on windows and unix , why so ?
{
public :
void f() = 0 ;
};
class D : public B
{
public :
void f()
{
}
};
int main()
{
D d ;
int s = sizeof(d);
return 0 ;
}
now value of s will be different on windows and unix , why so ?