| Other C Code Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Find the largest number in a binary tree | Infosys | 4 |
| Give a very good method to count the number of ones in a 32
bit number.
(caution: looping through testing each bit is not a solution) | Microsoft | 4 |
| how can u draw a rectangle in C | Wipro | 24 |
| Print an integer using only putchar. Try doing it without
using extra storage. | | 1 |
| How to access command-line arguments? | | 4 |
| plz send me all data structure related programs | | 1 |
| 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 |
| How do I write a program to print proper subset of given
string . Eg :input: abc
output:{},{a},{b},{c},{a,b},{a,c},{b,c},
{a,b,c}.I desperately need this program please mail me to
saravana6m@gmail.com | Deshaw | 8 |
| 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 |
| Finding a number multiplication of 8 with out using
arithmetic operator | NetApp | 7 |
| Link list in reverse order. | NetApp | 7 |
| Write a C function to search a number in the given list of
numbers. donot use printf and scanf | Honeywell | 4 |
| how to check whether a linked list is circular. | | 3 |
| 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 |
| Write a program that find and print how many odd numbers in
a binary tree | | 1 |
| why java is platform independent? | Wipro | 6 |
| print numbers till we want without using loops or condition
statements like specifically(for,do while, while swiches,
if etc)!
| | 7 |
| How we will connect multiple client ? (without using
fork,thread) | TelDNA | 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 |
| |
| For more C Code Interview Questions Click Here |