C Interview Questions

5,485 c interview questions shared by candidates

General object oriented programming questions, such as as “what’s encapsulation, function overloading”. Some questions pertaining to C, such as “what’s the difference between structs and unions”, “where does execution start in a C program”. Then finally some basic Linux command line questions, “how to create files”, “how to check system resources”, “difference between grep and egrep”. If you use Linux and know C/C++ you will cruise through the first 2 rounds.
avatar

C/C++ Software Developer

Interviewed at Cognizant

3.6
Dec 2, 2020

General object oriented programming questions, such as as “what’s encapsulation, function overloading”. Some questions pertaining to C, such as “what’s the difference between structs and unions”, “where does execution start in a C program”. Then finally some basic Linux command line questions, “how to create files”, “how to check system resources”, “difference between grep and egrep”. If you use Linux and know C/C++ you will cruise through the first 2 rounds.

In the programming round, I encountered a question that required me to join three SQL tables and use a GROUP BY clause. This was followed by a programming question that involved data structures like matrices and arrays. Finally, there was a question that tested my knowledge of front-end web technologies, specifically HTML, CSS, and JavaScript.
avatar

Gen C

Interviewed at Cognizant

3.6
Oct 13, 2025

In the programming round, I encountered a question that required me to join three SQL tables and use a GROUP BY clause. This was followed by a programming question that involved data structures like matrices and arrays. Finally, there was a question that tested my knowledge of front-end web technologies, specifically HTML, CSS, and JavaScript.

Viewing 3691 - 3700 interview questions

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