View All num of num See all Photos Nimble Storage www.nimblestorage.com Engaged Employer Overview Reviews Salaries Interviews Jobs Photos Benefits 64 Reviews 101 Salaries 30 Interviews Follow Add Interview Follow Add Interview Interview Question Member of Technical Staff Interview San Jose, CA Nimble Storage The interviewer asked me to write C++ copy constructor and copy assignment constructor. One of the worst screen-sharing tool was provided. Wrote the code with usual mistakes of not checking NULL value of the pointer before allocating memory, but corrected the error. The interviewer looks like a copy-cat, arguing my code to check for copying same object in copy-assignment constructor. As per the interviewer we cannot compare 'this' pointer and '&arg' (arg was argument in copy-assignment constructor). I interviewer felt I am wrote some nonsense code without knowing C++ basics.I believe the interviewer wasn't familiar with C++ basics. Tags: See more , See less 8 Answer Add Tags Answer Interviews > Member of Technical Staff > Nimble Storage Add Answers or Comments To comment on this, Sign In or Sign Up.