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#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.