c Interview Questions | Glassdoor

c Interview Questions

271

interview questions shared by candidates

c Interview Questions

Sort: RelevancePopular Date

Complete the C function (body) that uses recursion to determine if the string is a palindrome

4 Answers

Write a program to test endianess of storage.

3 Answers

given a string,which is filled with either "(" or ")", for example "(())()())", write a function to check if the string is "proper". A "proper" string means if there is a "(" in the string, there should be a ")" which corresponds to the "(" in the string. For example, "))()("

3 Answers

to developd to class software describe it

3 Answers

Not the most difficult question but I found this question interesting. Write a piece of code that allows you to detect if the machine you are running the program is little Endian or big Endian memory structure.

2 Answers

Given a square Grid of numbers, Considering all the numbers at the boundary as 1 layer and numbers just inside as another layer and so on how would you rotate each of the layers of the numbers by a given amount.

3 Answers

Suppose you have a C++ base class and several classes that inherit from it. What might happen if you do not write a virtual destructor for the base class?

2 Answers

Substring function

2 Answers

Why did you Pick C++ instead of any other dynamic languages out there?

2 Answers

how do you reverse a string?

2 Answers
2130 of 271 Interview Questions