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
List some of the dynamic data structures in C?
an expression contains relational operators, assignment operators, and arithmatic operstors. In the absence of parentheses, they will be evaluated in which of the following order a) assignment, relational, arithematic b) arithematic, relational, assignment c) relational, arithematic, assignment d) assignment, arithematic, relational
What is the basic structure of c?
What is a c token and types of c tokens?
number of times a digit is present in a number
write a program using linked list in which each node consists of following information. Name[30] Branch Rollno Telephone no i) Write the program to add information of students in linked list
What is s or c?
Explain about block scope in c?
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.
If the size of int data type is two bytes, what is the range of signed int data type?
What are shell structures used for?
What is main () in c?
What is the argument of a function in c?
i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....
Write a code on reverse string and its complexity.