Implement a queue to send and receiving is possible while being thread safe.
C Engineer Interview Questions
3,787 c engineer interview questions shared by candidates
1) What does the following code do? 2) What changes would you make to improve the code (not regarding performance)? void func(int array[ARRAY_SIZE]) { int p = 0; for (int r = 0; r < 4; r++) { for (int i = p; i < ARRAY_SIZE; i++) { if (array[i] % 5 == r) { if (i != p) { int temp = array[p]; array[p] = array[i]; array[i] = temp; } p++; } } } }
Compare Python and C++ (memory handling, structure, ...)
1. Find the maximum profit on share prices. 2. second was based on car speed and position based question.
Talking about C++ code examples.
gave a sample code and asked to debug
C++ Asteroid game was given and was asked to fix issues and add few features.
1st (Technical) : First round took more than 1 hour. In this interviewer asked Basic Technical question related to c++. Mostly question are from constructor, virtual function, Pointers and Inheritance. 2nd (techinical) : Second round took hardly 15 minutes. In this round question related to debugging is asked. 3nd ( HR) : this round took 15 minutes. In this HR asked about salary and family background.
What is your current salary?
I asked about their toolchain and why it was so old. So old that I could not remember the specific language differences between their version and the next.
Viewing 121 - 130 interview questions