Goldman Sachs Interview Report
- 0of 0 votes
AnswersWhat are the mandatory conditions when compiler synthesizes the constructors.
- RS February 13, 2011| Report Duplicate | Flag | PURGE
Goldman Sachs Software Engineer / Developer C++ - 0of 0 votes
Answersclass Foo
- RS February 13, 2011
{
int a;
public :
virtual void Fun1() {};
};
Class X
{
Foo f;
public:
X()
{
memset(&f,0x0,sizeof(f);
}
}
int main()
{
X x;
}
Is there any problem in this code snippet. if yes what are the problems.| Report Duplicate | Flag | PURGE
Goldman Sachs Software Engineer / Developer C++
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.