-
-
-
-
Write sample code or algorithim to get all possible combinations of data that will be entered from keyboard
like, If i enter 1 2 3 then it should show 1 2 31 3 2 2 1 3 All 6 possible combnations
-
-
-
-
-
-
-
-
-
Is nesting of conditional operator( ? : ) possible? If no then why? If yes then write down the program to find the greatest of three number?
Yes, Nesting of conditional operator is possible .Write down the program yourself.
-
How to print all the possible combinations of a given integer ?
.for eg 12 is the entered no.then print 12, 21if 123 is entered nothen print 123, 231, 321, 132, 213, 312.
-
-
Pascal Triangle
What is the C program for Pascal Triangle 1 1 2 1 1 3 3 1 1 4 6 4 1 1 5 10 5 1
-
-
-
Calendar Program
Develop a program that receives the month and year from the keyboard as integers and prints the calendar in the following format March 2006 Mon Tue Wed Thu Fri Sat Sun 1 2 3 4 5 6 7 8 9 10 ...
-
Explain C Code
#define sro(X) (X*X)main(){int i=3,j,k;j=sro(i++);k=sro(++i);printf("n%d %d",j,k);getch();}output is 9 49can any one explain why we get second output as 49
C Interview Questions
Ans