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
81 questions
#1What is the difference between stack and heap allocation?EasyConceptMemory management and RAII 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 a pointer and what is a reference?EasyConceptMemory management and RAII 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 a memory leak?EasyConceptMemory management and RAII 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 the difference between new/delete and malloc/free?EasyConceptMemory management and RAII 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.
#5What is a dangling pointer?EasyConceptMemory management and RAII 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.
#6What is RAII?MediumConceptMemory management and RAII 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.
#7Compare unique_ptr, shared_ptr and weak_ptr.MediumConceptMemory management and RAII 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.
#8Why prefer make_unique and make_shared?MediumConceptMemory management and RAII 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 is the Rule of Three, Five and Zero?MediumConceptMemory management and RAII 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 move semantics?MediumConceptMemory management and RAII 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.