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

2 3393

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

Mind Tree, TCS, Value Labs,

2 5130

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.

4 6221




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,

1 2910

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,

1026

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,

3 3916

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,

3 3955

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,

1 3232




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

4 2415

multiple of 9 without useing +,* oprator

3 2599

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.

1683

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

2 3548

wtite a program that will multiply two integers in recursion function

TCS,

4 12080

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

CDAC,

1 1919

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

Bosch,

902


Post New C Questions






Un-Answered Questions { C }

write a program to copy the string using switch case?

1603


5 Write an Algorithm to find the maximum and minimum items in a set of ‘n’ element.

791


What is pre-emptive data structure and explain it with example?

2409


write a program in C that prompts the user for today's date,tomorrow's date and display the results.Use structures for today's date,tomorrow's date and an array to hold the days for each month of the year.

3918


Write a C program that will accept a hexadecimal number as input and then display a menu that will permit any of the following operations to be carried out: Display the hexadecimal equivalent of the one's complement. (b) Carry out a masking operation and then display the hexadecimal equivalent of the result. (c) Carry out a bit shifting operation and then display the hexadecimal equivalent of the result. (d) Exit. If the masking operation is selected, prompt the user lor the type of operation (bitwise and, bitwise exclusive or, or bitwise or) and then a (hexadecimal) value for the mask. If the bit shifting operation is selected. prompt the user for the type of shift (left or right), and then the number of bits. Test the program with several different (hexadecimal) input values of your own choice.

3518






code for find determinent of amatrix

638


write a c program to print the next of a particular no without using the arithmetic operator or looping statements?

2051


hi any body pls give me company name interview conduct "c" language only

801


write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.

2442


provide an example of the Group by clause, when would you use this clause

897


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

708


how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software

1959


what is uses of .net

482


write a program to generate address labels using structures?

1417


in a town the percentage of men is 52 the percentage of total literacy is 48 if total percentage of literate men is 35 of the total population write a program to find the total no of the literate men and women if the population of the town is 80000

9292