| Other C Code Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| How we will connect multiple client ? (without using
fork,thread) | TelDNA | 2 |
| Write a routine to draw a circle (x ** 2 + y ** 2 = r ** 2)
without making use of any floating point computations at all. | Microsoft | 2 |
| Given an array of characters which form a sentence of
words, give an efficient algorithm to reverse the order of
the words (not characters) in it.
| Microsoft | 4 |
| Given an array of size N in which every number is between 1
and N, determine if there are any duplicates in it. You are
allowed to destroy the array if you like. | Microsoft | 8 |
| Write a C function to search a number in the given list of
numbers. donot use printf and scanf | Honeywell | 4 |
| Write out a function that prints out all the permutations of
a string.
For example, abc would give you abc, acb, bac, bca, cab,
cba. You can assume that all the characters will be unique. | Microsoft | 3 |
| To Write a C program to remove the repeated characters in
the entered expression or in entered characters(i.e)
removing duplicates. | Synergy | 2 |
| plz send me all data structure related programs | | 1 |
| How can u say that a given point is in a triangle?
1. with the co-ordinates of the 3 vertices specified.
2. with only the co-ordinates of the top vertex given. | | 1 |
| Finding a number multiplication of 8 with out using
arithmetic operator | NetApp | 7 |
| program to find the roots of a quadratic equation | | 1 |
| Find your day from your DOB? | Microsoft | 11 |
| How to swap two variables, without using third variable ? | HCL | 26 |
| Give a oneline C expression to test whether a number is a
power of 2?
| Motorola | 9 |
| What is the main difference between STRUCTURE and UNION? | | 3 |
| Link list in reverse order. | NetApp | 7 |
| Given n nodes. Find the number of different structural
binary trees that can be formed using the nodes. | Aricent | 3 |
| Given a list of numbers ( fixed list) Now given any other
list, how can you efficiently find out if there is any
element in the second list that is an element of the
first list (fixed list) | Disney | 2 |
| How to read a directory in a C program?
| | 3 |
| How will u find whether a linked list has a loop or not? | Microsoft | 3 |
| |
| For more C Code Interview Questions Click Here |