Software Engineer C Interview Questions

994 software engineer c interview questions shared by candidates

The usual questions like "speak about yourself", "why would you like to join?", "what did you do in the past?" + printed A4 paper with intentionally misformatted and badly written C++ code to analyze line by line in speech and identify logical, runtime and design errors.
avatar

C++ Software Developer

Interviewed at GRAPHISOFT

3.6
Jan 27, 2017

The usual questions like "speak about yourself", "why would you like to join?", "what did you do in the past?" + printed A4 paper with intentionally misformatted and badly written C++ code to analyze line by line in speech and identify logical, runtime and design errors.

1) What does the following code do? 2) What changes would you make to improve the code (not regarding performance)? void func(int array[ARRAY_SIZE]) { int p = 0; for (int r = 0; r < 4; r++) { for (int i = p; i < ARRAY_SIZE; i++) { if (array[i] % 5 == r) { if (i != p) { int temp = array[p]; array[p] = array[i]; array[i] = temp; } p++; } } } }
avatar

C++ Software Developer

Interviewed at Mobileye

3.8
Dec 31, 2024

1) What does the following code do? 2) What changes would you make to improve the code (not regarding performance)? void func(int array[ARRAY_SIZE]) { int p = 0; for (int r = 0; r < 4; r++) { for (int i = p; i < ARRAY_SIZE; i++) { if (array[i] % 5 == r) { if (i != p) { int temp = array[p]; array[p] = array[i]; array[i] = temp; } p++; } } } }

1st (Technical) : First round took more than 1 hour. In this interviewer asked Basic Technical question related to c++. Mostly question are from constructor, virtual function, Pointers and Inheritance. 2nd (techinical) : Second round took hardly 15 minutes. In this round question related to debugging is asked. 3nd ( HR) : this round took 15 minutes. In this HR asked about salary and family background.
avatar

Software Engineer (C++ Developer)

Interviewed at Dion Global Solutions

3.1
Dec 22, 2013

1st (Technical) : First round took more than 1 hour. In this interviewer asked Basic Technical question related to c++. Mostly question are from constructor, virtual function, Pointers and Inheritance. 2nd (techinical) : Second round took hardly 15 minutes. In this round question related to debugging is asked. 3nd ( HR) : this round took 15 minutes. In this HR asked about salary and family background.

Viewing 31 - 40 interview questions

Glassdoor has 994 interview questions and reports from Software engineer c interviews. Prepare for your interview. Get hired. Love your job.