They asked my about how std::shared_ptr preserves the thread safety between the strong references and weak references
C Engineer Interview Questions
3,788 c engineer interview questions shared by candidates
1st Round Object oriented programming concepts Polymorphism, Inheritance, Abstraction etc. Name mangling, function overloading vs overriding. use of extern keyword public private protected specifiers Object construction destruction order , pointers vs references. Puzzle:- Standard 2-Jar 3Leter-5Leter puzzle. ****************************************************************** Second round:- About current project overview Software design patterns used in project Applications of various data structures like Stack/Queue/Graph etc. Binary search tree . Singleton design pattern. Is-A / Has- A relationship with examples. Composition vs Private inheritance. Abstract class . Standard Torch and Bridge puzzle. ****************************************************************** 3rd Round Virtual and Pure virtual function. How you will find memory leak in application. Brief about company projects. Dynamic memory management Given a problem statement - Design it (keep it well design).
which sort method do you think is the best?
I had some C++ multiple choice question
how to sort std::map (gotcha)
Please explain runtime and compile time polymorphism.
Balance paranthesis
Most questions were very technical, computer-science type of questions. Two specific questions about the programming exercise, but no review of it or lengthy, detailed discussion which is what was expected.
Do you know QNX?
Viewing 671 - 680 interview questions