C Developer Interview Questions

5,469 c 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 41 - 50 interview questions

Glassdoor has 5,469 interview questions and reports from C developer interviews. Prepare for your interview. Get hired. Love your job.