7 ms·
What does C++ grilling look like? Types of questions they asked etc?
by Solvency 3y ago
What does C++ grilling look like? Types of questions they asked etc?
- JTyQZSnP3cQGa8B 3y agoYou can have a lot of tricky questions with the STL only. Here are a few things I can think of: Why do you pass smart pointers, string_view or span by copy? What do you know about C++20? What do you know about C++23? Can you list some useful objects in the STL of C++23? Why should you be careful when calling a C function with a string_view? Another fun question: Why is a range algorithm better than a regular algorithm? One answer would be that you have "projections" in the ranges algorithms and it makes code cleaner and simpler. The answers to those questions are endless and show the extent of what you know, and if you're interested in the evolution of the language.