C Programmer Interview Questions

3,500 c programmer interview questions shared by candidates

- what is the different between compiler and linker? - write a suitable data structure for: million words, each word contains up to 20 chars. There are 25 chars in the language. - I was given a code and I had to find the bugs
avatar

Senior Developer C/C++

Interviewed at PTC

4.1
Feb 22, 2021

- what is the different between compiler and linker? - write a suitable data structure for: million words, each word contains up to 20 chars. There are 25 chars in the language. - I was given a code and I had to find the bugs

1. Shallow VS Deep Copy. Implement Deep Copy. 2. Virtual Destructor, order of destructors called in Inheritance 3. Run-time Polymorphism, Virtual Functions 4. Assignment Operator Overloading 5. Typecasting in C++ 6. Reverse a Linked List (between 2 intervals) 7. Basic Linux commands - copy, change directory 8. Basic knowledge of Lambda Expression
avatar

C++ Developer

Interviewed at Sapiens

3.4
Jan 28, 2025

1. Shallow VS Deep Copy. Implement Deep Copy. 2. Virtual Destructor, order of destructors called in Inheritance 3. Run-time Polymorphism, Virtual Functions 4. Assignment Operator Overloading 5. Typecasting in C++ 6. Reverse a Linked List (between 2 intervals) 7. Basic Linux commands - copy, change directory 8. Basic knowledge of Lambda Expression

Some questions and practical examples were legitimate, like multithreading behavior leading to zombie processes. Some were rather synthetic or just examples of bad code that you should never see anyway, like what would this do: int i = 5; int x =10; i+++++j;
avatar

Middle Software Developer C++

Interviewed at Innowise Group

3.8
Aug 20, 2025

Some questions and practical examples were legitimate, like multithreading behavior leading to zombie processes. Some were rather synthetic or just examples of bad code that you should never see anyway, like what would this do: int i = 5; int x =10; i+++++j;

Viewing 3311 - 3320 interview questions

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