Write a C program to get the desired output.
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.
Answers were Sorted based on User's Feedback
Answer / sandip pal
printf(" %2d ",ncr(i,j));
int ncr(int n,int r)
int fact(int n)
|Is This Answer Correct ?||3 Yes||0 No|
Answer / ch.mahathi
could anyone please assist me in getting the output in the following way?
For example, if you have entered a pin number like 532211 as the input to the program , then the output should be like this
|Is This Answer Correct ?||0 Yes||0 No|
Answer / tknowledge05
The above guest is me .. ookk....
by the time i solved and executing i was logged out and when i posted the answer it considered guest.......
|Is This Answer Correct ?||1 Yes||2 No|
Answer / guest
printf("Enter no. of rows to print ");
|Is This Answer Correct ?||4 Yes||6 No|
An instruction which is analysed and acted upon by the processor prior to the compiler going its work a) directive b) constructive c) constant d) absolute mode
What is the purpose of main() function?
int i=10; printf("%d %d %d", i, i=20, i);
Please send me WIPRO technical question to my mail ID.. its email@example.com please its urgent
Is it possible to execute code even after the program exits the main() function?
write a c program to find largest of three numbers using simple if only for one time.
What is the difference between big endian form and little endian form? write a code to convert big endian form to little endian and vice versa..
Define the scope of static variables.
what are enumerations in C
nic scientist exam
how to find the size of the data type like int,float without using the sizeof operator?
write a C program, given number is double without using addt ion and multiplication operator?ex:n=6,ans=12,pls send me ans to firstname.lastname@example.org