C Software Engineer Interview Questions

3,489 c software engineer interview questions shared by candidates

1. Written test. a. Objective questions based on Base and derived objects and exceptions. b. Programming round i. Write a program to reverse given sentence. Ex:Input: I am from Kerala Output: Kerala from am i II. Compress the given string Ex: Input: aaaabbbccxyzaa output: a4b3c2xyza2 2. Technical and managerial is very cool.Mostly related to copy constructor, operator overloading, static, const, smart pointers. 3. HR- General discussion
avatar

C++ Developer

Interviewed at Manhattan Associates

3.8
Nov 8, 2014

1. Written test. a. Objective questions based on Base and derived objects and exceptions. b. Programming round i. Write a program to reverse given sentence. Ex:Input: I am from Kerala Output: Kerala from am i II. Compress the given string Ex: Input: aaaabbbccxyzaa output: a4b3c2xyza2 2. Technical and managerial is very cool.Mostly related to copy constructor, operator overloading, static, const, smart pointers. 3. HR- General discussion

1. You have an array of numbers. Need to find the abs diff between alpha count and beta count. where alpha count is the sum of the entries in the array, where those entries should be consecutive and should be of same value and the value and the consecutive count should match. beta count is same as alpha additionally the starting index of entries should start from the value itself. For eg: arr[2,2,2,4,4,4,4,1,2,2] alpha entries are [4,4,4,4] [1] [2,2] , because value 4 is 4 times consecutive, value 1 is 1 time consecutive, value 2,2 is 2 times consecutive. Beta entries are [4,4,4,4] value 4 starting index is 4, which is same as the value itself. output should be abs[alpha_count-beta_count]. 2. You have a 2 dimensional array arr[i, 3], where as arr[i][0] is a person name, arr[i][1] is another person name, arr[1][3] is a value(can be negative also). Need to sum the values of arr[i][0] and subtract it with sum of the values of arr[i][1] with the condition that person name is same. Find the list of person whose final amount is lesser than . For eg: arun balu 3 balu arun 2 gopi arun 3 balu gopi 4 then arun=(3)-(2+3)=-2 balu=(2+4)-(3)=3 gopi=(3)-(4)=-4 op: "gopi".
avatar

C# Lead Developer

Interviewed at KLA

4
Feb 22, 2025

1. You have an array of numbers. Need to find the abs diff between alpha count and beta count. where alpha count is the sum of the entries in the array, where those entries should be consecutive and should be of same value and the value and the consecutive count should match. beta count is same as alpha additionally the starting index of entries should start from the value itself. For eg: arr[2,2,2,4,4,4,4,1,2,2] alpha entries are [4,4,4,4] [1] [2,2] , because value 4 is 4 times consecutive, value 1 is 1 time consecutive, value 2,2 is 2 times consecutive. Beta entries are [4,4,4,4] value 4 starting index is 4, which is same as the value itself. output should be abs[alpha_count-beta_count]. 2. You have a 2 dimensional array arr[i, 3], where as arr[i][0] is a person name, arr[i][1] is another person name, arr[1][3] is a value(can be negative also). Need to sum the values of arr[i][0] and subtract it with sum of the values of arr[i][1] with the condition that person name is same. Find the list of person whose final amount is lesser than . For eg: arun balu 3 balu arun 2 gopi arun 3 balu gopi 4 then arun=(3)-(2+3)=-2 balu=(2+4)-(3)=3 gopi=(3)-(4)=-4 op: "gopi".

Viewing 921 - 930 interview questions

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