Senior Software C Developer Interview Questions

34 senior software c developer interview questions shared by candidates

1. Sort array with ones and zeros. This was the most "complicated" part. 2. Complexity of insert/delete/find in double linked list, binary tree. Complexity of sort of array of numbers, of sorted array of numbers. 3. Questions like what order ctors/dtors work. 4. Some crap with 2 classes having static shared ptr for kernel object, where kernel was class poorly written. Like what's wrong with the code was the question. 5. int x; int &j; j=x; What's wrong? Reference should be assigned to a variable when declared actually. Other questions very primitive.
avatar

Senior Software Developer C++

Interviewed at Scalable Solutions

3.8
Feb 19, 2021

1. Sort array with ones and zeros. This was the most "complicated" part. 2. Complexity of insert/delete/find in double linked list, binary tree. Complexity of sort of array of numbers, of sorted array of numbers. 3. Questions like what order ctors/dtors work. 4. Some crap with 2 classes having static shared ptr for kernel object, where kernel was class poorly written. Like what's wrong with the code was the question. 5. int x; int &j; j=x; What's wrong? Reference should be assigned to a variable when declared actually. Other questions very primitive.

What is smart pointer, and explain the benefit of smart pointer? Explain about Stack and Heap memory allocation Explain about protected, private and public variable in diffence class' permission Explain about derived class What is function overloading and function overriding? How important is constructor and desctructor? Give an example how to function call by reference and call by value 3 Algorithm question live coding easy level
avatar

Software Developer C++ Senior

Interviewed at Luxoft

3.7
Nov 10, 2022

What is smart pointer, and explain the benefit of smart pointer? Explain about Stack and Heap memory allocation Explain about protected, private and public variable in diffence class' permission Explain about derived class What is function overloading and function overriding? How important is constructor and desctructor? Give an example how to function call by reference and call by value 3 Algorithm question live coding easy level

Given an integer array and another number, find a pair whose sum is given number. Best solution is to use unordered map <int, int> then use this logic map[sum - a[i]] = a[i]; // O(n) then, for each a[i], if map[a[i]] present then that will be the answer. // O(n)
Feb 27, 2018

Given an integer array and another number, find a pair whose sum is given number. Best solution is to use unordered map <int, int> then use this logic map[sum - a[i]] = a[i]; // O(n) then, for each a[i], if map[a[i]] present then that will be the answer. // O(n)

Viewing 31 - 40 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 34 interview questions and reports from Senior software c developer interviews. Prepare for your interview. Get hired. Love your job.