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
Can we assign integer value to char in c?
Can you write the function prototype, definition and mention the other requirements.
Explain what is wrong with this program statement?
Explain how do you search data in a data file using random access method?
How do you declare a variable that will hold string values?
What is the difference between declaring a variable and defining a variable?
By using C language input a date into it and if it is right?
What is operator promotion?
How can I discover how many arguments a function was actually called with?
How to write a code for reverse of string without using string functions?
I heard that you have to include stdio.h before calling printf. Why?
write a program in c language to print your bio-data on the screen by using functions.
What is a structure in c language. how to initialise a structure in c?
Explain the use of 'auto' keyword
What is c preprocessor mean?