A collection of common C++ programming language questions and their answers.
@qs_by_qset
Created this 7 months ago
1. What is the purpose of the `const` keyword in C++?
2. What is the difference between a function template and a class template in C++?
3. What is the purpose of the `override` keyword in C++?
4. What is the difference between a constructor and a destructor in C++?
5. What is the difference between a class and a struct in C++?
6. What is the difference between a pointer and a reference in C++?
7. What is the purpose of the `this` pointer in C++?
8. What is the purpose of the `virtual` keyword in C++?
9. What is the difference between a public, protected, and private member in C++?
10. What is the difference between a vector and a list in C++?