Перейти к основному содержанию
Zoro
Вопросы
Таймер
Резервное копирование
Главная
/
Вопросы
/
♾️ C++
♾️
C++ — вопросы для собеседования
295+ вопросов для подготовки к собеседованию по C++
122 Junior
138 Middle
35 Senior
1
What is C++ and what is it used for?
junior
2
What are the main differences between C and C++?
junior
3
What is the difference between struct and class in C++?
junior
4
What are pointers and references in C++?
junior
5
What is the difference between new and malloc?
junior
6
What is the difference between stack and heap memory?
junior
7
What is RAII in C++?
middle
8
What are smart pointers in C++?
middle
9
What is the difference between pass by value, pass by reference, and pass by pointer?
junior
10
What is the difference between struct and class in C++?
junior
11
What is the difference between pointer and reference?
junior
12
What is the difference between new and malloc?
junior
13
What is the difference between stack and heap?
junior
14
What is RAII?
junior
15
What are smart pointers?
junior
16
What is the difference between const and constexpr?
junior
17
What is the difference between const int*, int* const, and const int* const?
junior
18
What is the difference between override and final in C++?
middle
19
What is the difference between public, protected, and private inheritance?
middle
20
What is the difference between struct and class?
junior
21
What is the difference between pointer and reference?
junior
22
What is the difference between new and malloc?
junior
23
What is the difference between stack and heap?
junior
24
What is RAII?
junior
25
What are smart pointers?
junior
26
What is the difference between const and constexpr?
junior
27
What is the difference between const int*, int* const, and const int* const?
junior
28
What is the difference between override and final?
junior
29
What is the difference between public, protected, and private inheritance?
junior
30
What is the difference between struct and class?
junior
31
What is the difference between pointer and reference?
junior
32
What is the difference between new and malloc?
junior
33
What is the difference between stack and heap?
junior
34
What is RAII?
junior
35
What are smart pointers?
junior
36
What is the difference between const and constexpr?
junior
37
What is the difference between const int*, int* const, and const int* const?
junior
38
What is the difference between override and final?
junior
39
What is the difference between public, protected, and private inheritance?
junior
40
What is the difference between struct and class?
junior
41
What is the difference between pointer and reference?
junior
42
What is the difference between new and malloc?
junior
43
What is the difference between stack and heap?
junior
44
What is RAII?
junior
45
What are smart pointers?
junior
46
What is the difference between const and constexpr?
junior
47
What is the difference between const int*, int* const, and const int* const?
junior
48
What is the difference between override and final?
junior
49
What is the difference between public, protected, and private inheritance?
junior
50
What is the difference between struct and class?
junior
51
What is the difference between pointer and reference?
junior
52
What is the difference between new and malloc?
junior
53
What is the difference between stack and heap?
junior
54
What is RAII?
junior
55
What are smart pointers?
junior
56
What is the difference between const and constexpr?
junior
57
What is the difference between const int*, int* const, and const int* const?
junior
58
What is the difference between override and final?
junior
59
What is the difference between public, protected, and private inheritance?
junior
60
What is the difference between struct and class?
junior
61
What is the difference between pointer and reference?
junior
62
What is the difference between new and malloc?
junior
63
What is the difference between stack and heap?
junior
64
What is RAII?
junior
65
What are smart pointers?
junior
66
What is the difference between const and constexpr?
junior
67
What is the difference between const int*, int* const, and const int* const?
junior
68
What is the difference between override and final?
junior
69
What is the difference between public, protected, and private inheritance?
junior
70
What is the difference between struct and class?
junior
71
What is the STL?
middle
72
What is the difference between vector and list in C++?
middle
73
What is the difference between map and unordered_map?
middle
74
What is the difference between class and struct in C++?
junior
75
What is the difference between pointer and reference?
junior
76
What is the difference between new and malloc?
junior
77
What is the difference between stack and heap?
junior
78
What is RAII?
junior
79
What are smart pointers?
middle
80
What is the Rule of Three/Five/Zero?
middle
81
What is the Rule of Three in C++?
middle
82
What is the Rule of Five in C++?
middle
83
What is the Rule of Zero in C++?
middle
84
What are move semantics in C++?
middle
85
What is the difference between lvalue and rvalue?
middle
86
What is perfect forwarding in C++?
senior
87
What is SFINAE in C++?
senior
88
What is CRTP (Curiously Recurring Template Pattern)?
senior
89
What is template metaprogramming in C++?
senior
90
What is the difference between std::move and std::forward?
senior
91
What is the difference between std::unique_ptr and std::shared_ptr?
middle
92
What is the difference between std::make_unique and std::make_shared?
middle
93
What is the difference between std::weak_ptr and std::shared_ptr?
middle
94
What is the difference between std::vector and std::array?
junior
95
What is the difference between std::map and std::unordered_map?
junior
96
What is the difference between std::list and std::vector?
junior
97
What is the difference between std::deque and std::vector?
junior
98
What is the difference between std::set and std::unordered_set?
junior
99
What is the difference between std::map and std::set?
junior
100
What is the difference between std::queue and std::priority_queue?
junior
101
What is the difference between std::stack and std::queue?
junior
102
What is the difference between std::forward_list and std::list?
junior
103
What is the difference between std::array and C-style array?
junior
104
What is the difference between std::vector and std::deque?
junior
105
What is the difference between std::list and std::forward_list?
junior
106
What is the difference between std::map and std::unordered_map?
junior
107
What is the difference between std::set and std::unordered_set?
junior
108
What is the difference between std::multiset and std::set?
junior
109
What is the difference between std::map and std::unordered_map?
junior
110
What is the difference between std::vector and std::list?
junior
111
What is the difference between std::array and std::vector?
junior
112
What is the difference between std::deque and std::queue?
junior
113
What is the difference between std::stack and std::queue?
junior
114
What is the difference between std::priority_queue and std::queue?
junior
115
What is the difference between std::set and std::multiset?
junior
116
What is the difference between std::map and std::multimap?
junior
117
What is the difference between std::unique and std::remove?
middle
118
What is the difference between std::sort and std::stable_sort?
middle
119
What is the difference between std::find and std::find_if?
middle
120
What is the difference between std::for_each and range-based for?
middle
121
What is the difference between std::transform and std::for_each?
middle
122
What is the difference between std::accumulate and std::reduce?
middle
123
What is the difference between std::copy and std::move?
middle
124
What is the difference between std::fill and std::fill_n?
junior
125
What is the difference between std::count and std::count_if?
junior
126
What is the difference between std::sort and std::stable_sort?
junior
127
What is the difference between std::binary_search and std::lower_bound?
middle
128
What is the difference between std::lower_bound and std::upper_bound?
middle
129
What is the difference between std::equal_range and std::lower_bound?
middle
130
What is the difference between std::find and std::find_if?
junior
131
What is std::move and when should you use it?
middle
132
What is the difference between lvalue and rvalue references?
middle
133
What is perfect forwarding in C++?
middle
134
What are template parameters and how do they work?
middle
135
What is template specialization?
middle
136
What is SFINAE in C++?
senior
137
What are C++20 concepts?
middle
138
What is std::unique_ptr and how does it work?
middle
139
What is std::shared_ptr and reference counting?
middle
140
What is std::weak_ptr and when is it used?
middle
141
What is RAII and how do smart pointers implement it?
middle
142
What is move constructor and move assignment?
middle
143
What is emplace_back vs push_back?
middle
144
What is std::optional in C++17?
middle
145
What is std::variant in C++17?
middle
146
What is std::any in C++17?
middle
147
What is structured binding in C++17?
middle
148
What is the Rule of Zero?
middle
149
What is std::string_view in C++17?
middle
150
What is std::filesystem in C++17?
middle
151
What is std::thread and how do you use it?
middle
152
What is std::mutex and how do you prevent deadlocks?
middle
153
What is std::atomic and when should you use it?
senior
154
What is std::condition_variable?
middle
155
What is the difference between std::async and std::thread?
middle
156
What is std::future and std::promise?
middle
157
What is std::function and how do you use it?
middle
158
What is CRTP (Curiously Recurring Template Pattern)?
senior
159
What is type erasure in C++?
senior
160
What is std::pmr (polymorphic memory resource)?
senior
161
What is std::ranges (C++20)?
middle
162
What is std::coroutine (C++20)?
senior
163
What is std::span (C++20)?
middle
164
What is constexpr evaluation (C++20)?
senior
165
What is std::expected (C++23)?
senior
166
What is std::format (C++20)?
middle
167
What are the memory_order flags in std::atomic?
senior
168
What is the virtual table (vtable) and how does virtual dispatch work?
senior
169
What is object slicing in C++?
middle
170
What is the diamond problem and virtual inheritance?
middle
171
What is std::tuple and how do you use it?
middle
172
What is std::array and how does it differ from C arrays?
junior
173
What is std::deque and when should you use it?
junior
174
What is std::set and std::multiset?
junior
175
What is std::map and std::unordered_map?
junior
176
What is std::priority_queue?
junior
177
What is emplace vs insert in STL containers?
middle
178
What is iterator invalidation?
middle
179
What is std::algorithm and its most useful functions?
junior
180
What is the difference between std::list and std::forward_list?
junior
181
What is std::bitset and when to use it?
junior
182
What is the difference between std::sort, std::stable_sort, and std::partial_sort?
middle
183
What is move-only type and how to implement it?
middle
184
What is std::apply and std::invoke?
middle
185
What is std::chrono and how do you use it?
middle
186
What is the Singleton pattern in C++?
middle
187
What is the Observer pattern?
middle
188
What is the Strategy pattern?
middle
189
What is the Factory pattern?
middle
190
What is the Decorator pattern?
middle
191
What is std::bit_cast (C++20)?
middle
192
What is std::popcount and bit manipulation in C++20?
middle
193
What is the Builder pattern?
middle
194
What is std::format_to and format iterators?
middle
195
What is std::jthread and cooperative cancellation?
middle
196
What is std::source_location (C++20)?
middle
197
What is std::views::iota (C++20)?
middle
198
What is std::optional monadic operations (C++23)?
middle
199
What is std::expected monadic operations?
middle
200
What is std::flat_map and std::flat_set (C++23)?
middle
201
What is std::generator (C++23)?
middle
202
What is std::print (C++23)?
junior
203
What is std::unreachable (C++23)?
middle
204
What are the differences between std::string, std::string_view, and std::pmr::string?
middle
205
What is std::simd (parallelism TS v2)?
senior
206
What is std::execution (C++17 parallel algorithms)?
middle
207
What is std::span and how to use it for safe array access?
middle
208
What is the difference between std::apply and std::invoke?
middle
209
What is std::ranges::zip_view (C++23)?
middle
210
What is std::latch and std::barrier (C++20)?
middle
211
What is std::stop_token and std::stop_source (C++20)?
middle
212
What are std::atomic_ref and std::atomic<std::shared_ptr> (C++20)?
senior
213
What is std::counting_semaphore (C++20)?
middle
214
What is std::atomic_wait and std::atomic_notify (C++20)?
middle
215
What is std::format_range (C++23)?
middle
216
What is std::stacktrace (C++23)?
middle
217
What is std::to_array (C++20)?
junior
218
What is std::ranges::contains (C++23)?
junior
219
What is std::ranges::to (C++23)?
middle
220
What is std::move_only_function (C++23)?
middle
221
What is std::spanstream (C++23)?
middle
222
What is std::flat_set and its performance characteristics?
middle
223
What is std::out_ptr (C++23)?
middle
224
What is std::mdspan (C++23)?
middle
225
What is std::stacktrace_entry (C++23)?
middle
226
What is std::ranges::generate (C++26)?
junior
227
What is std::ranges::to from C++23?
middle
228
What is std::expected and error handling patterns?
middle
229
What is std::views::chunk_by (C++23)?
middle
230
What is std::ranges::to_tuple (C++26)?
middle
231
What is std::flat_map and how does it differ from std::map?
middle
232
What is std::hive (P0447)?
senior
233
What are the differences between std::string, std::wstring, and std::u8string?
middle
234
What is std::format with user-defined types?
middle
235
What is std::print binary output (C++23)?
middle
236
What is std::span and its relationship with iterators?
middle
237
What is std::ranges::cartesian_product (C++23)?
middle
238
What is std::views::zip_transform (C++23)?
middle
239
What is std::ranges::range adaptor composition?
middle
240
What is std::ranges::set_union and set operations (C++23)?
middle
241
What is std::ranges::iota (C++23)?
junior
242
What is std::simd_width and SIMD concepts (parallelism TS)?
senior
243
What are the C++23 features for safety and security?
middle
244
What is the difference between std::variant and std::visit?
middle
245
What is std::ranges::join_view and std::ranges::split_view?
middle
246
What is std::ranges::elements_of and std::ranges::zip_view?
middle
247
What is std::ranges::cache_latest (C++26)?
middle
248
What is std::views::enumerate (C++23)?
junior
249
What is std::ranges::repeat_view (C++23)?
junior
250
What are the key differences between C++17, C++20, and C++23?
middle
251
What is RAII and why is it important in C++?
junior
252
What is the Rule of Three/Five/Zero?
middle
253
What are move semantics and rvalue references?
middle
254
What is the difference between std::unique_ptr and std::shared_ptr?
middle
255
What are lambda expressions in C++?
junior
256
What is the difference between std::vector and std::array?
junior
257
What is perfect forwarding?
senior
258
What is template metaprogramming?
senior
259
What is the difference between stack and heap allocation?
junior
260
What are smart pointers and when to use each?
middle
261
What is std::variant and std::optional?
middle
262
What is the difference between const and constexpr?
junior
263
What are C++ concepts (C++20)?
senior
264
What is std::string_view?
middle
265
What is move semantics and when to use std::move?
middle
266
What is the difference between emplace and insert?
middle
267
What is std::function and when to use it?
middle
268
What are C++ modules?
senior
269
What is structured binding (C++17)?
junior
270
What is std::optional and when to use it?
middle
271
What is the difference between std::map and std::unordered_map?
junior
272
What is SFINAE and how does it work?
senior
273
What is std::chrono?
middle
274
What is std::atomic?
senior
275
What is the difference between std::thread and std::jthread?
middle
276
What are C++ ranges (C++20)?
senior
277
What is std::any?
middle
278
What is std::span?
middle
279
What is std::format?
middle
280
What is std::coroutine?
senior
281
What is std::expected (C++23)?
senior
282
What is memory alignment and why does it matter?
senior
283
What is the difference between new/delete and malloc/free?
junior
284
What are virtual functions and vtables?
middle
285
What is CRTP (Curiously Recurring Template Pattern)?
senior
286
What is std::pmr (polymorphic memory resources)?
senior
287
What is thread_local storage?
senior
288
What is std::execution (C++26)?
senior
289
What is the difference between C++ arrays and std::array?
junior
290
What is std::regex?
middle
291
What is std::filesystem?
middle
292
What is std::bit_cast (C++20)?
middle
293
What is std::ranges::views?
senior
294
What is std::visit?
middle
295
What are the most important C++ best practices?
senior
Назад ко всем категориям