Skip to content

C++ Developer interview questions

Modern C++ memory and RAII, STL, templates, object-oriented design, concurrency and performance.

81 questions · 5 topics · 10 free answers

0 of 81 practised · 0 bookmarked · saved on this device

15 questions match

STL, containers and algorithms
  1. #1Name the main STL containers.EasyConceptSTL, containers and algorithms Pro answer

    This answer is part of Pro

    10 of 81 C++ Developer answers are free. A Pro pass opens the rest, including hands-on task steps.

  2. #2What is an iterator?EasyConceptSTL, containers and algorithms Pro answer

    This answer is part of Pro

    10 of 81 C++ Developer answers are free. A Pro pass opens the rest, including hands-on task steps.

  3. #3What is the difference between vector and array?EasyConceptSTL, containers and algorithms Pro answer

    This answer is part of Pro

    10 of 81 C++ Developer answers are free. A Pro pass opens the rest, including hands-on task steps.

  4. #4What is std::string versus a C string?EasyConceptSTL, containers and algorithms Pro answer

    This answer is part of Pro

    10 of 81 C++ Developer answers are free. A Pro pass opens the rest, including hands-on task steps.

  5. #5When use map versus unordered_map?MediumConceptSTL, containers and algorithms Pro answer

    This answer is part of Pro

    10 of 81 C++ Developer answers are free. A Pro pass opens the rest, including hands-on task steps.

  6. #6Why does vector push_back invalidate iterators?MediumConceptSTL, containers and algorithms Pro answer

    This answer is part of Pro

    10 of 81 C++ Developer answers are free. A Pro pass opens the rest, including hands-on task steps.

  7. #7What is the erase-remove idiom?MediumConceptSTL, containers and algorithms Pro answer

    This answer is part of Pro

    10 of 81 C++ Developer answers are free. A Pro pass opens the rest, including hands-on task steps.

  8. #8What is std::string_view?MediumConceptSTL, containers and algorithms Pro answer

    This answer is part of Pro

    10 of 81 C++ Developer answers are free. A Pro pass opens the rest, including hands-on task steps.

  9. #9What are std::optional, variant and tuple for?MediumConceptSTL, containers and algorithms Pro answer

    This answer is part of Pro

    10 of 81 C++ Developer answers are free. A Pro pass opens the rest, including hands-on task steps.

  10. #10What is the complexity of common vector operations?MediumConceptSTL, containers and algorithms Pro answer

    This answer is part of Pro

    10 of 81 C++ Developer answers are free. A Pro pass opens the rest, including hands-on task steps.

Hunting for a C++ Developer role too? See open C++ Developer jobs.