C Software Developer Interview Questions

994 c software developer interview questions shared by candidates

Write a routine that reverses the word order of an input sentence, ignoring capitalization and punctuation. Whitespace is to be reduced to a single char. The function signature is: void reverseSentence(std::string& string) Examples " the quick brown fox jumps over the lazy dog " becomes "dog lazy the over jumps fox brown quick the". "hello world" becomes "world hello". “ Hi! ” is trimmed to “Hi!”. “” stays as “”.
avatar

Software Developer (C++)

Interviewed at Bloomberg

4
Jul 24, 2014

Write a routine that reverses the word order of an input sentence, ignoring capitalization and punctuation. Whitespace is to be reduced to a single char. The function signature is: void reverseSentence(std::string& string) Examples " the quick brown fox jumps over the lazy dog " becomes "dog lazy the over jumps fox brown quick the". "hello world" becomes "world hello". “ Hi! ” is trimmed to “Hi!”. “” stays as “”.

(technical interview) Build a data structure that supports the following functions: int alloc() - allocates a new element to a data structure and initializes its value to 0. void inc(key) - Increases the value of the element by one. int get(key) - returns the value of the given key void resetAll() - Initializes the values ​​of all elements to be 0.
avatar

Junior C++ Software Developer

Interviewed at Infinidat

3.9
Nov 8, 2020

(technical interview) Build a data structure that supports the following functions: int alloc() - allocates a new element to a data structure and initializes its value to 0. void inc(key) - Increases the value of the element by one. int get(key) - returns the value of the given key void resetAll() - Initializes the values ​​of all elements to be 0.

Object oriented concepts like about virtual methods and pure virtual and stuff like abstraction. Conflicts in team. inheritance and how did you use it? Pretty much all the questions mentioned here in glass door. Also about any presentations in my graduation
avatar

C++ Software Engineer

Interviewed at MathWorks

4.3
Jun 3, 2016

Object oriented concepts like about virtual methods and pure virtual and stuff like abstraction. Conflicts in team. inheritance and how did you use it? Pretty much all the questions mentioned here in glass door. Also about any presentations in my graduation

Viewing 41 - 50 interview questions

Glassdoor has 994 interview questions and reports from C software developer interviews. Prepare for your interview. Get hired. Love your job.