Company Name Starts with ...
#  A  B  C  D  E   F  G  H  I  J   K  L  M  N  O   P  Q  R  S  T   U  V  W  X  Y  Z

Microsoft C Code 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.

21 45758

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

2 21370

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

10 23759

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)

7 28186

program to Reverse a linked list

12 56950

write a program to Insert in a sorted list

4 13452

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

3 16500

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).

13 35120

How to swap two variables, without using third variable ?

104 222900

how to check whether a linked list is circular.

11 59564

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.

5 20987

Write a prog to accept a given string in any order and flash error if any of the character is different. For example : If abc is the input then abc, bca, cba, cab bac are acceptable, but aac or bcd are unacceptable.

5 13377

Find your day from your DOB?

15 17137

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.

9 19795

String copy logic in one line.

11 25204

Post New Microsoft C Code Interview Questions


Microsoft C Code Interview Questions


Un-Answered Questions

What is size category?

542


How can I control on which weblogic server(s) my application will run? : BEA Weblogic

504


What is c mainly used for?

583


Design a view in a map such that if the user selects any state, the cities under that state has to show profit and sales?

388


​​ What are Containers in SAP HANA?

79






What's the difference between a hashtable and a hashmap?

446


What is the purpose of primary key?

517


why actual valve timing diagram is different than ideal valve timing digram of a 4 stroke engine?

5038


Tell me how asp.net mvc differs from asp.net web forms? : asp.net mvc

536


List the system calls used for process management?

608


What is difference between JBOD and RAID?

1642


What is migration in django ?

205


give me a suggestion for strength or weakness for mba interview

2886


You want to have each step in your script measured as a transaction in the controller and not shown in the replay log in vugen. How can you accomplish this?

558


How do components communicate with each other in angular 2?

443