int y[10000000000]; int main() { int x[10000000000]; x [0] = 1; y[0] = 1; printf( "X: %d Y:%d\n", x[0], y[0]); } How are x and y treated in memory?
Senior Software C Developer Interview Questions
135 senior software c developer interview questions shared by candidates
They sent a simplistic question about parsing streaming trade data and doing very simplistic calculations on it.
Q: What are good and bad sides of virtual and multiple inheritance?
There were a lot of questions starting with my background.
What is the best case lookup time for a hash table?
What 4 functions are automatically generated for a class by the c++ compiler?
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.
Methods/Way to connect CPP to QML? write a small class and get the data from the class and show it in CPP? with and without QAbstractItemModel Class
- What's the difference between an array and list? And when would you use one or the other? - What's the differnce between a monolithic and micro kernel? - What do use a mutex for? - What is a scoped lock? - Describe what a binary tree is and what type of data they are best used for - Name at least two sorting alfgorithms
Technical quest about C and Unix about threads unix editor and inter-process communication types
Viewing 11 - 20 interview questions