OOPs concept , SQL and 2 simple DSA questions that's all
C Software Engineer Interview Questions
3,489 c software engineer interview questions shared by candidates
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); } }
Count letters in a sentence omitting non alphabet characters: /// /// E.g given the // input string "Hello there!", print the output has to be 'h': 2 /// 'e': 3 'l': 2 'o': 1 't': 1 'r': 1 /// /// input The string containing the letters to count /// // Omit any character that is not in the English alphabet
Least recent cache. leet code (medium)
What is your actual salary?
How would you code a TCP reordering proxy?
class, inheritance , OOPs , pointers, write your own smart pointer class, write insertion sort, write selection sort, etc
questions are mainly based on pointers
Multithreading (semaphore, mutex, lock), exception handling, stack data structure implementation, etc.
Find the depth of the deepest part of a binary tree.
Viewing 1151 - 1160 interview questions