About project, How you use Multi-threading explain, Debugging how do you do VS2012. What compilers you use. Difference between mutex, semaphore how they are different. Where can you apply synchronization techniques what will you use to do them. Storage classes in c Difference between global and external Static variable 2nd round with client: Different CPP programs were given and asked for expected ouput. cpp programs include all oops concepts, virtual, virtual destructor
C Engineer Interview Questions
5,479 c engineer interview questions shared by candidates
1- Deep discussion on current project as role offered was also of same type. 2- Smart pointer discussion, write the code for same. I wrote for int, then they asked for generic one with template. 3- why operators needs to overload in smart pointer class. 4 -in normal pointers, why do we need to give type of pointer even if they store only numeric data that is address. 5- singleton class concept, write code for the same. 6-How do we restrict creation of object in heap? 7- Write copy constructor body, why do we need? 8- Difference between vector and list. Which one is good and why ? 9- internal implementation of map, set and unordered map. 10- difference between map and unordered map 11- write a program to print pair of elements whose sum is 10 from given set of array elements. 12- sql: find third highest unique salary from employee table
1-How do we restrict creation of heap objects in a class without using static variable. 2-what is heap and stack 3-why pointers have different data types even if pointer is stored with same memory space. 4-Smart pointer details and code for generic smart pointer 5-write a program to select pair of numbers such that sum should be 10. Array of 50 elements given, we need to create pair of two from array and once pair is created those elements should not be reused 6-select third highest salary of employees from table 7-diff between stack and queue 8-deep understanding of current project
What is a map (the associative container)?
Technical interviewer itself does not the generics and arguing with me with his half understanding about the same. when i said Generics are type safe and Generic type are checked at time of declaration checking ,happened at compile time .he is arguing.
basic oops questions, polymorphism, inheritance
Most general C++ and geometry related questions
1. How to handle the desktop window pop up while performing web automation in c# 2. finalize() and dispose() in c# 3. Explain Nunit attributes 4. Nunit packages or dll to generate report 5. is it possible to inherit static class consist this keyword 6. How to pass data from one scenario to another scenario in c# specflow 7. why different tools will be used for api testing 8. different components in postman 9. boxing and unboxing in c# 10. copyto() in c# 11. ddl commands and joins in SQL 12. can single try block have multiple catch blocks in c# 13. which class is superclass for all the classes? 14. difference between == and equals in c# 15. hard and soft assert in c# 16. How to execute the test from the command prompt.
Which method is called when you recast an object twice which has 3 levels deep inheritance and the method you're calling uses the `new` modifier?
By having the interface X, a class Y that implements it, and a class Z that extends the class Y + overrides one of the methods using override, and the second one using new, Tell which method will be called if ... Bunch of different combos of those things.
Viewing 5341 - 5350 interview questions