C Programmer Interview Questions

3,501 c programmer interview questions shared by candidates

C++ average questions, a coding question of having iterator class for sorting elements from vector of vectors, if what is your expectations ($) from nexthink, what if we offer you same as other then will you join nexthink? are you interested in nexthink because of pay or nature of work?
avatar

Senior C++ Developer

Interviewed at Nexthink

4.2
Feb 3, 2025

C++ average questions, a coding question of having iterator class for sorting elements from vector of vectors, if what is your expectations ($) from nexthink, what if we offer you same as other then will you join nexthink? are you interested in nexthink because of pay or nature of work?

class Program { static void Main(string[] args) { B obj = new B(); Console.ReadKey(); } } abstract class A { public A() { Console.WriteLine("This is the A class"); //calc(); } public abstract void calc(); } class B : A { public B() { Console.WriteLine("This is the B class"); } public override void calc() { Console.WriteLine("This is the abstract methode"); } } Questions: 1. What will be printed on the console? 2. what will be printed to the console if we remove this "//" before the calc() in the contractor of class A;
avatar

Junior C# and .NET developer

Interviewed at NiCE

3.9
Jun 6, 2024

class Program { static void Main(string[] args) { B obj = new B(); Console.ReadKey(); } } abstract class A { public A() { Console.WriteLine("This is the A class"); //calc(); } public abstract void calc(); } class B : A { public B() { Console.WriteLine("This is the B class"); } public override void calc() { Console.WriteLine("This is the abstract methode"); } } Questions: 1. What will be printed on the console? 2. what will be printed to the console if we remove this "//" before the calc() in the contractor of class A;

4 tasks in Codility. The first one was about C++ basics like dynamic_cast etc, 4-choice Second one classic parsing exercise in C++ using string, maps, arrays, however very badly specified so that correct solution was simply not feasible in given time, unless you neglect most possible inputs and "go straight to dumbest implementation" that might or might not pass Codility scoring test. Third question is about dynamic programming, in-depth search of cheapest route. Fourth was numerical exercise, relative calculation on angles maybe easy but certainly might be tricky.
avatar

C++ Software Development Engineer

Interviewed at TomTom

3.8
Aug 20, 2021

4 tasks in Codility. The first one was about C++ basics like dynamic_cast etc, 4-choice Second one classic parsing exercise in C++ using string, maps, arrays, however very badly specified so that correct solution was simply not feasible in given time, unless you neglect most possible inputs and "go straight to dumbest implementation" that might or might not pass Codility scoring test. Third question is about dynamic programming, in-depth search of cheapest route. Fourth was numerical exercise, relative calculation on angles maybe easy but certainly might be tricky.

Viewing 541 - 550 interview questions

Glassdoor has 3,501 interview questions and reports from C programmer interviews. Prepare for your interview. Get hired. Love your job.