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 are keywords c?
Differentiate between null and void pointers.
What are the advantages of the functions?
What is meant by recursion?
What is the difference between malloc calloc and realloc in c?
in case any function return float value we must declare a) the function must be declared as 'float' in main() as well b) the function automatically returned float values c) function before declared 'float' keyword d) all the above
What are the advantages and disadvantages of pointers?
Why & is used in scanf in c?
difference between Low, Middle, High Level languages in c ?
the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters
explain what are pointers?
What are all different types of pointers in c?
Hi how many types of software editions are there and their difference (like home editions, enterprise, standard etc) can u please help me
What is double pointer?
How can I write functions that take a variable number of arguments?