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

C Interview Questions
Questions Answers Views Company eMail

There is a 100-story building and you are given two eggs. The eggs (and the building) have an interesting property that if you throw the egg from a floor number less than X, it will not break. And it will always brake if the floor number is equal or greater than X. Assuming that you can reuse the eggs which didn't broke; you got to find X in a minimal number of throws. Give an algorithm to find X in minimal number of throws.

Yahoo,

5 23077

Given an array of characters, how would you reverse it? How would you reverse it without using indexing in the array?

Microsoft,

1 9527

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?

3 7939

Concat two string with most overlapped substring has to removeĀ  "abcd"+ "cdef" = "abcdef

6 10140

Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon

HCL,

2250

what r the cpu registers r ther?

1 3595

printf("%d",(printf("Hello")); What it returns?

TCS,

32 64173

WRITE A PROGRAM TO FIND A REVERSE OF TWO NO

7 11153

what is diff between localstatic and globalstatis variable possible 2 use in another file...?

HCL,

2 5329

what is op? for(c=0;c=1000;c++) printf("%c",c);

Trigent,

21 29354

in C-programming language without using printf statement can we get output r not ? if yes how and if no also how ?

IBM,

11 34654

who is the founder of c

College School Exams Tests, HP,

19 32805

Who is invented by c?

Infosys, Mphasis,

24 32685

To what value do nonglobal variables default? 1) auto 2) register 3) static

4 9770

Would you rather wait for the results of a quicksort, a linear search, or a bubble sort on a 200000 element array? 1) Quicksort 2) Linear Search 3) Bubble Sort

3 6441


Post New C Questions

Un-Answered Questions { C }

a program that can input number of records and can view it again the record

1875


Write a program to input the price of 1 burger and the number of burgers eaten by a group of friends .print the total amount to be paid by the group?

995


Is it better to use a macro or a function?

1112


What is the purpose of main( ) in c language?

1106


What is indirection? How many levels of pointers can you have?

1101


What is difference between union and structure in c?

1089


What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?

1017


PROGRAM TO WRITE CONTENTS OF 1 FILE IN REVERSE TO ANOTHER FILE,PROGRAM TO COPY 1 FILE TO ANOTHER BY SPECIFYING FILE NAMES AS COMMAND LINE

1971


what is stack , heap ,code segment,and data segment

2646


Why is c platform dependent?

1032


What is the best style for code layout in c?

1068


How can I get back to the interactive keyboard if stdin is redirected?

1148


How can you tell whether two strings are the same?

1220


Under what circumstances does a name clash occur?

1170


Is it possible to have a function as a parameter in another function?

1048