C Programmer Interview Questions

3,502 c programmer interview questions shared by candidates

The questions themselves deserve a separate paragraph. The interview was split to several quizzes: hardware design, rtos-related, c, c++, linux, security. Majority of the questions was single-answer test questions. Few open questions to write some snippet. The hardware and security part was quite ok. The rest was not. The C/C++ questions were based on a code snippets prepared exactly for interview purpose. So, there were some crazy-looking constructs like 3[arr] + (arr+1)[1], !!!arr, &(*(&arr[1]+1)+2). Things that you should never see on production. I don't see a point of asking such questions. This kind of questions doesn't check if you're good engineer or not. There were no good coding practices questions, no software design-related. All C++ questions were pre-C++11.
avatar

C/C++ Embedded Developer

Interviewed at Klika Tech

4
Jun 26, 2023

The questions themselves deserve a separate paragraph. The interview was split to several quizzes: hardware design, rtos-related, c, c++, linux, security. Majority of the questions was single-answer test questions. Few open questions to write some snippet. The hardware and security part was quite ok. The rest was not. The C/C++ questions were based on a code snippets prepared exactly for interview purpose. So, there were some crazy-looking constructs like 3[arr] + (arr+1)[1], !!!arr, &(*(&arr[1]+1)+2). Things that you should never see on production. I don't see a point of asking such questions. This kind of questions doesn't check if you're good engineer or not. There were no good coding practices questions, no software design-related. All C++ questions were pre-C++11.

2nd technical round advanced C++ concepts. Difference in unique _lock and lock_guard, What is function object, What is core dump, Find greatest of 3 numbers (using max function expected), Singeltone and Strategy design pattern, Static method and Static object, Friend fun vs Friend class, Difference in error and exception, Function object, Lambda expression, How to stop making class object(Expected answer is to make constructor as delete). Basic STL Algorithm Library functions like max, sort, find, etc.
avatar

C++ Developer

Interviewed at Atos

3.5
Sep 16, 2025

2nd technical round advanced C++ concepts. Difference in unique _lock and lock_guard, What is function object, What is core dump, Find greatest of 3 numbers (using max function expected), Singeltone and Strategy design pattern, Static method and Static object, Friend fun vs Friend class, Difference in error and exception, Function object, Lambda expression, How to stop making class object(Expected answer is to make constructor as delete). Basic STL Algorithm Library functions like max, sort, find, etc.

Viewing 2881 - 2890 interview questions

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