C Software Engineer Interview Questions

994 c software engineer interview questions shared by candidates

The assignment was a design and I cannot mention a content since it is confidential, but I can upload my own source code to my github account. Go check it yourself to see if it is generic and fast(OR NOT): https://github.com/sarpdaltaban/MemoryPool/blob/main/MemPool.h
avatar

Embedded C++ Software Engineer

Interviewed at Arm

4.5
Feb 18, 2021

The assignment was a design and I cannot mention a content since it is confidential, but I can upload my own source code to my github account. Go check it yourself to see if it is generic and fast(OR NOT): https://github.com/sarpdaltaban/MemoryPool/blob/main/MemPool.h

The assignment was a design and I cannot mention a content since it is confidential, but I can upload my own source code to my github account. Go check it yourself to see if it is generic and fast(OR NOT): https://github.com/sarpdaltaban/MemoryPool/blob/main/MemPool.h
avatar

Embedded C++ Software Engineer

Interviewed at Arm

4.5
Feb 18, 2021

The assignment was a design and I cannot mention a content since it is confidential, but I can upload my own source code to my github account. Go check it yourself to see if it is generic and fast(OR NOT): https://github.com/sarpdaltaban/MemoryPool/blob/main/MemPool.h

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); } }
avatar

Junior Software Developer (C++)

Interviewed at Accelya Group

3.4
Aug 15, 2024

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
avatar

Junior Software Developer (C++)

Interviewed at Accelya Group

3.4
Aug 15, 2024

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

Viewing 321 - 330 interview questions

Glassdoor has 994 interview questions and reports from C software engineer interviews. Prepare for your interview. Get hired. Love your job.