Goldman Sachs Interview Report
- 0of 0 votes
AnswersDesign a reference counted smart pointer.
- Hemant Parashar April 18, 2011| Report Duplicate | Flag | PURGE
Goldman Sachs Software Engineer / Developer C++ - 0of 0 votes
Answersvoid fun(int *p){ int v = 0; p=&v;v++;}
- Hemant Parashar April 18, 2011
int main()
{
int* p;
fun(p);
}
what will be the output. One of the options was compiler error which is the right one as tested by me.| Report Duplicate | Flag | PURGE
Goldman Sachs Software Engineer / Developer
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.