Write a program to produce the following output in c language?
1
1 1
1 2 1
1 3 3 1
1 4 6 4 1
Answer Posted / kalaiarasan
#include<stdio.h>
#include<math.h>
main()
{
unsigned long int k=11;
for(i=0;i<5;i++)
printf("\n%u\n",pow(k,i));
}
| Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
which type of aspect you want from the student.
write a program to create a sparse matrix using dynamic memory allocation.
Write a program for finding factorial of a number.
In a header file whether functions are declared or defined?
write a c program to print the next of a particular no without using the arithmetic operator or looping statements?
Why isn't it being handled properly?
What is console in c language?
Explain what is output redirection?
Explain what is the difference between far and near ?
Create a structure to specify data on students as given below: Roll number, Name, Department, Course, and Year of joining. Assume that there are not more than 450 students in the collage. (a) Write a function to print the names of all students who joined in the last 3 years. (b) Write a function to print the data of a student whose roll numbers are divisible by 4.
i want to know the procedure of qualcomm for getting a job through offcampus
What is 02d in c?
What is dynamic dispatch in c++?
What is structure in c explain with example?
I need testPalindrome and removeSpace
#include