C Software Engineer Interview Questions

3,487 c software engineer interview questions shared by candidates

The technical interview: 1. I was shown a C++ small class `A` which had a pointer field, a constructor which initializes the pointer with a new allocation and a destructor that just deletes the pointer (default copy and move constructors and assignments operators). I was then given a small main function which allocated a variable of `A` on the stack and was asked to write code which used that class and would have caused a crash if it had ran in a Linux environment. 2. I was asked to design and implement a small component which receives sensors data as input, then needs to call some external algorithm, giving it the sensors data as input. The amount of sensors `N` was known in advance. Each sensor has a different frequency for taking a measurement. I was allowed to discard measurements if I had deemed that valuable or necessary. During the discussion, the interviewer added that the sensors data the component stores needs to be moved from the component to the algorithm. The non-technical interview: 1. Whether or not it would be comfortable for me to commute to the work place. 2. How long (roughly) I plan to stay at the company.
avatar

C++ Software Engineer

Interviewed at Rail Vision (Israel)

3.8
Jan 16, 2023

The technical interview: 1. I was shown a C++ small class `A` which had a pointer field, a constructor which initializes the pointer with a new allocation and a destructor that just deletes the pointer (default copy and move constructors and assignments operators). I was then given a small main function which allocated a variable of `A` on the stack and was asked to write code which used that class and would have caused a crash if it had ran in a Linux environment. 2. I was asked to design and implement a small component which receives sensors data as input, then needs to call some external algorithm, giving it the sensors data as input. The amount of sensors `N` was known in advance. Each sensor has a different frequency for taking a measurement. I was allowed to discard measurements if I had deemed that valuable or necessary. During the discussion, the interviewer added that the sensors data the component stores needs to be moved from the component to the algorithm. The non-technical interview: 1. Whether or not it would be comfortable for me to commute to the work place. 2. How long (roughly) I plan to stay at the company.

Viewing 331 - 340 interview questions

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