Junior — Middle
Are there standard questions used in interviews?
sobes.tech AI
Answer from AI
Yes, standard questions are often used in C/C++ interviews to test basic knowledge and understanding of the language. These questions include:
- The difference between pointers and references
- Memory management: malloc/free vs new/delete
- Features of working with constructors, destructors, copy and move constructors
- Principles of working with classes and object-oriented programming
- The difference between stack and heap
- What is RAII and why is it needed
- Features of working with const, volatile
- The difference between struct and class
These questions help assess the candidate's fundamental knowledge and their ability to write correct and efficient C/C++ code.