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 23440

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 10597

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 3738

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

TCS,

32 66323

WRITE A PROGRAM TO FIND A REVERSE OF TWO NO

7 11584

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

HCL,

2 5546

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

Trigent,

21 30683

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

IBM,

11 35596

who is the founder of c

College School Exams Tests, HP,

19 33995

Who is invented by c?

Infosys, Mphasis,

24 34177

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

4 10075

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 6684


Post New C Questions

Un-Answered Questions { C }

Find duplicates in a file containing 6 digit number (like uid) in O (n) time.

3313


How are 16- and 32-bit numbers stored?

1330


Who developed c language?

1153


which of the following statement is wrong a) mes=123.56; b) con='T'*'A'; c) this='T'*20; d) 3+a=b;

3341


What is the difference between fread and fwrite function?

1133


What is the purpose of the statement: strcat (S2, S1)?

1225


What are the three constants used in c?

1045


List the difference between a While & Do While loops?

1156


What is character constants?

1233


the factorial of non-negative integer n is written n! and is defined as follows: n!=n*(n-1)*(n-2)........1(for values of n greater than or equal to 1 and n!=1(for n=0) Perform the following 1.write a c program that reads a non-negative integer and computes and prints its factorial. 2. write a C program that estimates the value of the mathematical constant e by using the formula: e=1+1/!+1/2!+1/3!+.... 3. write a c program the computes the value ex by using the formula ex=1+x/1!+xsquare/2!+xcube/3!+....

23915


What is c programming structure?

1278


Why clrscr is used in c?

1065


Is it valid to address one element beyond the end of an array?

1230


Which programming language is best for getting job 2020?

1105


What is c language and why we use it?

1127