c Interview Questions | Glassdoor

c Interview Questions


interview questions shared by candidates

c Interview Questions

Sort: RelevancePopular Date

An array of 99 elements contains integers from 1 to 100 with one missing element. Find the missing element.

127 Answers


1. calculate the sum of elements in array say SUM 2. sum of numbers 1 to 100 is(n* (n+1))/2 = 5050 when n==100 3. missing element is (5050-SUM)


One or more comments have been removed.
Please see our Community Guidelines or Terms of Service for more information.

Find the second largest element in a Binary Search Tree

16 Answers

Given an array of numbers, replace each number with the product of all the numbers in the array except the number itself *without* using division.

8 Answers

How do you make people choose a product they don't want.

6 Answers

How many unique handshakes if each person in a group of 10 give handshakes out to each and every other individual. (a) 100 (b) 50 (c) 45 (d) 20 (e) 10

5 Answers

You notice that adwords revenue for a certain word has dropped in Italy for the last 30 days. How do you go about determining why that has happened?

4 Answers

Q2: A pnp transistor with its base connected to a voltage source, the V source is connected to a +10V source. The emitter of the transistor is connected to a resistance, and then to the same +10V source. The collector side is connected to a capacitor, which is not charged at t=0-. Given the graph of Vsource = 10 V stepping up at t = 0 to further, draw the graph of Vout. Vout is between the point of collector and capacitor.

3 Answers

How would you generate sales.

2 Answers

What would your final grade be (for the year) for a child that scored averages of 18%, 68%, 70% and 72% (high school math)?

2 Answers

Write a method to determine if a string starts with an uppercase letter.

2 Answers
110 of 6,432 Interview Questions