what is the code for getting the output as
*
**
***
Answer Posted / babitha
# include <Stdio.h>
# include <conio.h>
# include <string.h>
void main()
{
int j,i,n;
scanf("%d",&n);
for (i=0;i<=n;i++)
{
for(j=0;j<i;j++)
printf("*");
printf("\n");
}
getch();
}
Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
can anyone suggest some site name..where i can get some good data structure puzzles???
Which node is more powerful and can handle local information processing or graphics processing?
Write a code on reverse string and its complexity.
what value is returned to operating system after program execution?
What is huge pointer in c?
List a few unconditional control statement in c.
Explain the advantages of using macro in c language?
How does pointer work in c?
Is anything faster than c?
What is ambagious result in C? explain with an example.
What is the sizeof () a pointer?
What is the process of writing the null pointer?
What are the different types of pointers used in c language?
how many key words availabel in c a) 28 b) 31 c) 32
Why is c so important?