C Software Developer Interview Questions

3,500 c software developer 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
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

Siemens: 1) Inheritance using private, protected, public for child class what is the scope for all. 2) can private parent class be accessible by child class. Yes/No. If yes then how. If no then why? 3) c program on double linked list to find minimum of all list using double pointer. 4) pointer to pointer what is the output 5) Socket programming any idea? 6) What is context switching 7) communication protocol. 8) oops concepts
avatar

C/C++ Embedded Developer

Interviewed at Siemens

4
May 9, 2021

Siemens: 1) Inheritance using private, protected, public for child class what is the scope for all. 2) can private parent class be accessible by child class. Yes/No. If yes then how. If no then why? 3) c program on double linked list to find minimum of all list using double pointer. 4) pointer to pointer what is the output 5) Socket programming any idea? 6) What is context switching 7) communication protocol. 8) oops concepts

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.
avatar

AngularJS Developer With C#

Interviewed at Deutsche Telekom

3.8
Jul 15, 2019

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.

Viewing 3461 - 3470 interview questions

Glassdoor has 3,500 interview questions and reports from C software developer interviews. Prepare for your interview. Get hired. Love your job.