c Interview Questions | Glassdoor

c Interview Questions

266

interview questions shared by candidates

c Interview Questions

Sort: RelevancePopular Date

Write an application that maps out a large set of data in as little time as possible.

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

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

4 Answers

(Programming Language Test) When casting an object of a polymorphic class from a base class, which kind of cast executes only if it's is valid?

3 Answers

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

3 Answers

how do you reverse a string?

2 Answers

why C++ deconstructor defined as virtual

2 Answers

write a C function to define strcmp(char *s1, char *s2) to return negative if s1 is smaller, positive if s2 is greater and 0 if they are equal.

2 Answers

Write a macro to which you can pass a name of a structure and a name of one of its fields and get a relative offset of this field within the structure.

3 Answers

Implement memcpy.

4 Answers
2130 of 266 Interview Questions