C Software Developer Interview Questions

3,500 c software developer interview questions shared by candidates

Q: Check if a number is a power of 2. Q: Write code for pair-sum(a version of subset sum where the sum of two number is equal to the expected sum, rather than optimization problem, it is decision problem) problem. How to solve it in O(n lg n) and O(n) time. Q: What is the difference of pointer and reference in C++. When to use those ?
avatar

Software Developer C/C++

Interviewed at AKUNA CAPITAL

4
May 4, 2016

Q: Check if a number is a power of 2. Q: Write code for pair-sum(a version of subset sum where the sum of two number is equal to the expected sum, rather than optimization problem, it is decision problem) problem. How to solve it in O(n lg n) and O(n) time. Q: What is the difference of pointer and reference in C++. When to use those ?

Viewing 21 - 30 interview questions

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