What are the four foundations of object-oriented design?
Junior C Entwickler Interview Questions
40 junior c entwickler interview questions shared by candidates
All about is this coding task
(technical interview) Build a data structure that supports the following functions: int alloc() - allocates a new element to a data structure and initializes its value to 0. void inc(key) - Increases the value of the element by one. int get(key) - returns the value of the given key void resetAll() - Initializes the values of all elements to be 0.
For this role, mainly, questions were more day-to-day work than algorithmic (but some very basic things such as knowledge of C++ DS still needed).
Tell me something about yourself.
If you had a clone of yourself, how would you excel better than your clone?
Tell me about your bachelor thesis.
you have 3 presorted very large arrays. Find the first common element amongst them. No duplicates in each of the array.
How do you consider a code as a "bad code"?
Identify memory leak: // this function has a memory leak. Can you find it? int i = 5; // <-- char *pszString = (char *)malloc(32); memset(pszString, 0, sizeof(32)); strcpy(pszString, "hi"); if (i > 5) { sprintf(pszString, "%i is greater than 5", i); printf("%s\n", pszString); free(pszString); } else if (i < 5) { sprintf(pszString, "%i is less than 5", i); printf("%s\n", pszString); free(pszString); } }
Viewing 1 - 10 interview questions