What is the best C++ interview question?

Posted by David Thielen on Programmers See other posts from Programmers or by David Thielen
Published on 2010-12-12T21:52:55Z Indexed on 2011/02/23 23:33 UTC
Read the original article Hit count: 306

Filed under:
|

If you could ask a C++ programmer one question to measure their C++ skills, what would it be?

The question I think is best is: Can you call "delete this;" inside a member function? (I put this as a link so you can think it through first, then go to The Best C++ Interview Question – Ever! to see the correct answer.)

I don't ask this because I expect most people to know the answer. If they did it would not be that useful a question. I ask to see if they can work their way to the correct answer and how they do so.

© Programmers or respective owner

Related posts about c++

Related posts about interview-questions