AniketTheProgrammer
Home
(current)
Courses
Projects
YT Projects
Coding Questions
Notification
Contact Us
Log In
All Topics
C Language
C++ Language
Greedy Algorithm
Hashing
Java Language
Linked List
Python
Queue
Stack
String
Sorting
Searching
Recursion
Backtracking
Dynamic Programming
Graph Theory
Bit Manipulation
Mathematics
Sliding Window Technique
Divide And Conquer
Matrix Manipulation
Two Pointers
Binary Tree
Topic: Cpp-conceptual-questions / Level: Intermediate
201. What is the purpose of the virtual keyword in C++?
202. How do you create a pure virtual function?
203. Explain the concept of multiple inheritance in C++.
204. What are the diamond problem and how can it be resolved?
205. What is the override keyword in C++?
206. How do you use final in inheritance?
207. What are lambda expressions and how are they different from regular functions?
208. Explain how std::shared_ptr works in C++.
209. What is std::weak_ptr and when would you use it?
210. How do you implement a thread-safe singleton in C++?
211. What is a move constructor and how does it differ from a copy constructor?
212. Explain the concept of rvalue references.
213. How do you implement a move assignment operator?
214. What are std::initializer_list and its use cases?
215. How do you create a thread in C++11?
216. What is the difference between std::thread and std::async?
217. What is the purpose of std::mutex in C++?
218. How do you implement a critical section using mutexes?
219. Explain the concept of condition variables in C++.
220. How do you implement a producer-consumer problem in C++?
221. What is the role of the std::atomic library?
222. Explain the use of std::unique_lock in C++.
223. How do you implement a simple observer pattern in C++?
224. What is a smart pointer and how does it differ from a regular pointer?
225. How do you implement function templates with variable argument lists?
226. What are variadic templates and their use cases?
227. Explain the concept of SFINAE (Substitution Failure Is Not An Error).
228. How do you use std::enable_if in C++?
229. What is type traits and how can it be used?
230. How do you create a basic type-safe enum in C++?
Previous
1
2
3
4
5
6
7
Next
More Levels
Beginner
Advanced
Most Visited
How do you implement a custom exception handling mechanism?
How do you manage exceptions across multiple threads?
What is the purpose of std::lock in multithreading?
What is the purpose of std::map and when should you use it?
What is the difference between std::copy and std::move?
What is the purpose of std::shared_ptr and its use cases?
How do you implement a generic observer pattern in C++?
How do you implement a basic thread-safe singleton in C++?
How do you implement a basic socket server in C++?
How do you implement a basic file compression algorithm in C++?
What is the role of std::unique_ptr in resource management?
How do you implement a basic image manipulation library in C++?
What is a class in C++?
How do you implement a custom parser for programming languages?
How do you create a simple file manager in C++?