Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...



Code Snippets Interview Questions
Questions Answers Views Company eMail

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.

ABC, eBay, Goldman Sachs, Google, HUP, Microsoft, TATA,

21 49912

Write a routine to draw a circle (x ** 2 + y ** 2 = r ** 2) without making use of any floating point computations at all.

Mentor Graphics, Microsoft,

2 22407

Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal.

Fusion Systems GmbH,

6 20976

Give a one-line C expression to test whether a number is a power of 2.

Microsoft,

10 26138

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.

Wipro,

2 10931

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,

7 30193

program to Reverse a linked list

Aricent, Microsoft, Ness Technologies,

12 59722

write a program to Insert in a sorted list

Microsoft,

4 14595

Program to Delete an element from a doubly linked list.

College School Exams Tests, Infosys,

4 33339

Write a function to find the depth of a binary tree.

Adobe, Amazon, EFI, Imagination Technologies,

13 88862

Write a routine that prints out a 2-D array in spiral order

Microsoft,

3 17451

Write, efficient code for extracting unique elements from a sorted list of array. e.g. (1, 1, 3, 3, 3, 5, 5, 5, 9, 9, 9, 9) -> (1, 3, 5, 9).

Intel, Microsoft, TCS,

13 38062

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, Google, ZS Associates,

3 14280

Print an integer using only putchar. Try doing it without using extra storage.

2 20815

How to swap two variables, without using third variable ?

AB, ADP, BirlaSoft, Cisco, Cygnet Infotech, HCL, Hewitt, Honeywell, HP, IBM, Infosys, Manhattan, Microsoft, Mobius, Percept, Satyam, SofTMware, TCS, Wipro, Yamaha,

104 237885


Un-Answered Questions { Code Snippets }

Code for Communicating over Sockets?

2155


write a function that allocates memory for a single data type passed as a parameter.the function uses the new operator and return a pointer to the allocated memory.the function must catch and handle any exception during allocation

2683


iam getting keyword or delimiter error while executing ICETOOL,provide me solution.

1386


Write a python program to print table of a given number?

662


could you please teach me how to program an income tax using functions

246


Why XML has been used for development?

448


how to pass data between pages using Cookies

2158


how to diplay a external image of output on winxp by using c & c++,

3244


how to manage mlng timer because they don't explain what's it's function?

2651


write a program using virtual function to find the transposing of a square matrix?

3153


how to take time as input in the format (12:02:13) from user so that controls remains between these columns?

2102


Write a Program in 'C' To Insert a Unique Number Only. (Hint: Just Like a Primary Key Numbers In Database.) Please Some One Suggest Me a Better Solution for This question ??

2221


solve the problem in the programming language C++"if a five digit number is input through the keyboard.Write a program to calculate the sum of its digits(hint: use the modulus operator)

3221


How to check if Folder is a Special Shell Folder ?

504


What is the functionality of GetWindowText?

550