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 23450

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

Microsoft,

1 9675

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 8162

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

6 10607

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,

2357

what r the cpu registers r ther?

1 3742

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

TCS,

32 66343

WRITE A PROGRAM TO FIND A REVERSE OF TWO NO

7 11590

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

HCL,

2 5548

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

Trigent,

21 30692

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

IBM,

11 35607

who is the founder of c

College School Exams Tests, HP,

19 34022

Who is invented by c?

Infosys, Mphasis,

24 34210

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

4 10077

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 6685


Post New C Questions

Un-Answered Questions { C }

Can true be a variable name in c?

1092


What is a rvalue?

1264


When a c file is executed there are many files that are automatically opened what are they files?

1156


What are the functions to open and close file in c language?

1268


hi... can anyone help me to make a two-dimensinal arrays in finding the sum of two elements plzzz. thnx a lot...

1969


What is break statement?

1183


What are the uses of null pointers?

1204


What is a function in c?

1691


Are pointers integer?

1083


7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.

2829


What are inbuilt functions in c?

1084


how do you programme Carrier Sense Multiple Access

2017


What does node * mean?

1309


Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc

5706


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?

1104