C Software Interview Questions

5,469 c software interview questions shared by candidates

Hard to generalize, since every technical interview was completelly different. There was request to code something online, general C++ questions (constructors, destructors, casting, ...), found problem in code excerpt, network communication questions, ...
avatar

Senior Software Engineer C++

Interviewed at Akamai

4.3
Feb 18, 2022

Hard to generalize, since every technical interview was completelly different. There was request to code something online, general C++ questions (constructors, destructors, casting, ...), found problem in code excerpt, network communication questions, ...

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
avatar

C++ Developer

Interviewed at Cognizant

3.1
Feb 23, 2022

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

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
avatar

Macro FX Trade BTS developer C++

Interviewed at Barclays

4
Mar 23, 2023

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
avatar

AVP-C++

Interviewed at Barclays

4
Mar 15, 2023

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

Viewing 5391 - 5400 interview questions

Glassdoor has 5,469 interview questions and reports from C software interviews. Prepare for your interview. Get hired. Love your job.