-
-
-
-
-
-
-
-
-
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
-
Finding Two least number in array.
How to find the least two numbers in a single dimension array in a single pass (traversing the elements only once)
-
Garbage Value
What is garbage value and How it is stored?
-
Types of Exceptions in C
What are all the type of Exceptions available in C ?
-
Base class has some virtual method and derived class has a method with the same name. If we initialize the base class pointer with derived
Base class has some virtual method and derived class has a method with the same name. If we initialize the base class pointer with derived object,. calling of that virtual method will result in which method being called?
C Interview Questions
Ans