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
What does it mean when the linker says that _end is undefined?
Which one would you prefer - a macro or a function?
When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?
What does s c mean on snapchat?
What is the data segment that is followed by c?
a number whose only prime factors are 2,3,5, and 7 is call humble number,,write a program to find and display the nth element in this sequence.. sample input : 2,3,4,11,12,13, and 100.. sample output : the 2nd humble number is 2,the 3rd humble number is 3,the 4th humble number is ,the 11th humble number is 12, the 12th humble number is 14, the 13th humble number is 15, the 100th humble number is 450.
What is string function in c?
What is Dynamic memory allocation in C? Name the dynamic allocation functions.
What is use of #include in c?
What is the difference between the = symbol and == symbol?
What does emoji p mean?
How do I copy files?
The __________ attribute is used to announce variables based on definitions of columns in a table?
Explain what is a static function?
application areas a 'c' a) operating system b) graphics, interpreter, assembler c) program evalution, communication softwares d) all the above