C Interview Questions
Questions Answers Views Company eMail

A B C D E F G F E D C B A A B C D E F F E D C B A A B C D E E D C B A A B C D D C B A A B C C B A A B B A A A

5368

how to print 2-D array using a single for loop?

7079

Write a C program to get the desired output. 1 1 2 1 1 3 3 1 1 4 6 4 1 1 5 10 10 5 1 . . . 1 n..............n 1 Note: n is a positive integer entered by the user.

8433

If an old women's age is the same as her three grand daughters i,mean the number of days old child=the no of weeks old child=no of months old child .The total yrs of all these ppl is 114 yrs...then how old is the old woman? the yr has 365 days..and 30 days each month.

TCS,

4247

If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.

TCS,

1830

Rapunzel walks into the forest of forgetfullness. She meets a Lion who lies on Monday Tuesdays and Wednesdays and meets a rabbit who lies on Thurs fridays and saturdays . On that day both say that "I lied yesterday". What day is it .

TCS,

6481

A woman had somany gloves and hats 22 red,34 blue, 45 white...there was power cut and she took a glove and how many gloves shud she take so that she gets a pair of glove fr each color??

TCS,

6032

if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.

TCS,

4561

when user give a number it multiply with 9 without useing '+' and '*' oprator

4549

multiple of 9 without useing +,* oprator

4528

Explain with the aid of an example why arrays of structures donâ€™t provide an efficient representation when it comes to adding and deleting records internal to the array.

2705

what is the flow of execution in cprogram? ex:printf();,scanf();

5166

wtite a program that will multiply two integers in recursion function

TCS,

15100

/*what is the output for the code*/ void main() { int r; r=printf("naveen"); r=printf(); printf("%d",r); getch(); }

CDAC,

3222

Write the test cases for checking a variable having value in range -10.0 to +10.0?

1878

Un-Answered Questions { C }

Does c have function or method?

636

What are the various types of control structures in programming?

660

Explain how do you print an address?

711

The performance of an operation in several steps with each step using the output of the preceding step a) recursion b) search c) call by value d) call by reference

718

What is a void * in c?

652

can anyone suggest some site name..where i can get some good data structure puzzles???

1686

What is the use of #define preprocessor in c?

663

Why #include is used in c language?

637

Why do some versions of toupper act strangely if given an upper-case letter?

674

Why is c called a mid-level programming language?

778

#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??

1592

What do you mean by Recursion Function?

666

How can I read/write structures from/to data files?

592

Is null equal to 0 in sql?

706

please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code

1737