Linked list program
C Engineer Interview Questions
3,787 c engineer interview questions shared by candidates
Knowledge of C++ language features and STL (mostly containers and multi-threading facilities)
Solve a specific puzzle with C++.
- 2nd last element in a linked list - Middle element in a linked list - Bits operations
Some highly complex C++ programs that were really difficult to complete within the given time frame. HR interview was quite friendly.
What will be printed to the Console at the end of this code? int global = 0; Thread t1 = new Thread(() => { int local = 0; while(global < 3) { local += 1; global += 1; } Console.WriteLine(local); }); Thread t2 = new Thread(() => { global += 1; }); t1.Start(); t2.Start();
What is the difference between struct and union keywords in C ?
Implement the Singleton design pattern.
I had to complete an online challenge on C++ coding. The test involved multiple bullet point question plus 2/3 coding exercises to be completed within a time limit.
Find LCA of 2 nodes in a given binary tree, cycle detection in a linked list.
Viewing 3771 - 3780 interview questions