Re: C++ Interview Questions
If you have a class derived from a base class, and each has a constructor and a destructor, what is the order that the constructors are called in when an object of the derived type is created? When the object is destroyed what is the order that the destructors are called in?
What is the purpose of a virtual destructor?
Re: C++ Interview Questions
Re: C++ Interview Questions
Quote:
Originally Posted by
mesajflaviu
That's not quite in English... :)
Re: C++ Interview Questions
Quote:
Originally Posted by
Brad Jones
That's not quite in English... :)
bing translate makes a bit more sense out of it here:
http://www.microsofttranslator.com/b...estions-c.html
Re: C++ Interview Questions
Quote:
Originally Posted by
Brad Jones
One of the articles is "Top Interview Questions for the {C++} Developer."
Well, be aware that lots of information already exists on this topic. Not only are there books but also comparisons of books, like here for example,
http://www.amazon.com/review/R288W3X...55&store=books
Re: C++ Interview Questions
but of course interviewers don't also read these books - do they? ;)
Personally, I prefer more 'open ended' discussion type questions - such as 'What is a race condition?', 'Describe Polymorphism', When would you not use the STL sort functions' etc. Rather than specific c++ syntax questions.
Re: C++ Interview Questions
Brads question is what are specific questions you have been asked in an interview.
Quote:
Originally Posted by
Brad Jones
So my question to you is.... What is one (or more) of the Interview questions you got when applying (or hiring) for a C++ position? Post it here in this thread!