C Engineer Interview Questions

3,794 c engineer interview questions shared by candidates

- move semantics - modern c++ features - vector vs array - map vs unordered_map, collisions in the HashMap and how it resolves - smart pointers: difference and usage; are they thread-safe - lambdas and capture list - multithreading: mutex, conditional variable, critical section, dead lock, live lock, std::lock
avatar

C++ Developer

Interviewed at Ford Motor Company

3.9
Sep 4, 2023

- move semantics - modern c++ features - vector vs array - map vs unordered_map, collisions in the HashMap and how it resolves - smart pointers: difference and usage; are they thread-safe - lambdas and capture list - multithreading: mutex, conditional variable, critical section, dead lock, live lock, std::lock

There was a written test which consisted of questions based on c specifically pointers and memory. There were 3 codes 2 were based on pointers and one on array after clearing this there was technical round. Technical round questions: Project based questions bt they ask various twisted questions soo pls be prepared with all kind of question. Microcontroller and microprosessor based wuestion they ask which microcontroller you are familier with and on the basis of that they ask. C programming questions rrlated to stack , volatile static , registers etc.
avatar

Embedded C Engineer

Interviewed at TATA ELXSI

3.9
Aug 25, 2021

There was a written test which consisted of questions based on c specifically pointers and memory. There were 3 codes 2 were based on pointers and one on array after clearing this there was technical round. Technical round questions: Project based questions bt they ask various twisted questions soo pls be prepared with all kind of question. Microcontroller and microprosessor based wuestion they ask which microcontroller you are familier with and on the basis of that they ask. C programming questions rrlated to stack , volatile static , registers etc.

Tips: - test is performed on codingame website ( check it out before applying to get familiar ) - 20 questions in total of type what is the output of presented program and algorithm problem solving - get your favorite compiler / linker ready - big note here : you cant copy paste code in IDE / editor from codegame website - 17 questions where you have 3 minutes to copy code by hand into your IDE / editor from website, compile it and link it and then again manually write output of code to output text box - program lengths are 30 -60 lines in ranges - practice fast typing beforehand - 3 problems of algorithmic type , 20 minutes to solve using IDE on codingame website
avatar

Junior C++ Programmer

Interviewed at Ubisoft

3.4
Aug 25, 2018

Tips: - test is performed on codingame website ( check it out before applying to get familiar ) - 20 questions in total of type what is the output of presented program and algorithm problem solving - get your favorite compiler / linker ready - big note here : you cant copy paste code in IDE / editor from codegame website - 17 questions where you have 3 minutes to copy code by hand into your IDE / editor from website, compile it and link it and then again manually write output of code to output text box - program lengths are 30 -60 lines in ranges - practice fast typing beforehand - 3 problems of algorithmic type , 20 minutes to solve using IDE on codingame website

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

First round: Hackerrank Test. Question: Given a string which contains only A and B, remove all the occurrences of AB and BB until the string doesn't contain any of these 2 substrings. Return the length of the original string after removing all the occurrences of the above substring. eg: "ABAABBA" answer: 1 2nd Round: One-on-One Interview(Online) Questions: What is a dangling pointer? In what scenario does a pointer become dangling? What was your role in your previous company? What features did you work on for the project in previous company? What were some mistakes you made and how did you correct them? 2 predict the output questions: int a=1; print("%d\n",(a++)*(++a)); char *p = 'a'; delete a; 2 coding questions: Print a singly linked list in reverse order(A:Recursion) How to detect a loop in a linked list(A: Hare and Tortoise Algo) (Avoid using extra space) What are some projects you did and explain the one you liked. After receiving the offer: HR Assesment: Cognitive Analysis and Psychological analysis test(30 mins non-proctored simple test)
avatar

C++ Software Developer

Interviewed at Accelya Group

3.4
Sep 28, 2022

First round: Hackerrank Test. Question: Given a string which contains only A and B, remove all the occurrences of AB and BB until the string doesn't contain any of these 2 substrings. Return the length of the original string after removing all the occurrences of the above substring. eg: "ABAABBA" answer: 1 2nd Round: One-on-One Interview(Online) Questions: What is a dangling pointer? In what scenario does a pointer become dangling? What was your role in your previous company? What features did you work on for the project in previous company? What were some mistakes you made and how did you correct them? 2 predict the output questions: int a=1; print("%d\n",(a++)*(++a)); char *p = 'a'; delete a; 2 coding questions: Print a singly linked list in reverse order(A:Recursion) How to detect a loop in a linked list(A: Hare and Tortoise Algo) (Avoid using extra space) What are some projects you did and explain the one you liked. After receiving the offer: HR Assesment: Cognitive Analysis and Psychological analysis test(30 mins non-proctored simple test)

Viewing 2461 - 2470 interview questions

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