Jump to Navigation

C++ Interview Questions

C++ Interview Questions

Interviews for IT jobs including C++ jobs often include challenges far beyond the usual questions regarding career aspirations.

IT job interviews often consist of brainteasers and practical questions designed to measure your logic, reasoning, creative thinking, and problem-solving skills. The objective for the interviewer is not only to assess your technical knowledge, but also your communication skills and suitability (culturally) for the company.

Here are some example C++ job interview questions to help you to prepare yourself (answers can be found at the bottom of the page):

C++ interview questions

  1. What is the difference between C & C++?
  2. What is the difference between an object and a class?
  3. What is abstraction?
  4. What is the difference between "C structure" and "C++ structure"?
  5. What is the use of virtual destructor?
  6. What is the difference between macro and inline()?
  7. Difference between realloc() and free()?
  8. What is public, protected, private?
  9. What is encapsulation?
  10. What is difference between inline function and ordinary function?

Click here to view answers.

It is important at C++ job interviews to be specific when answering questions. Concise qualitative answers demonstrate confidence and knowledge.

For more advice on perfecting your interview technique, we've partnered up with CV Knowhow who offer interview coaching so click here to find out more.

Good Luck!