what is the code for getting the output as
*
**
***
Answer Posted / pooja sonawane
void main()
{
int i,j;
for(i=0;i<3;i++)
printf("\n");
for(j=0;j<i;j++)
printf("*");
}
| Is This Answer Correct ? | 2 Yes | 6 No |
Post New Answer View All Answers
What is the difference between scanf and fscanf?
What are the restrictions of a modulus operator?
Explain About fork()?
What are type modifiers in c?
What is the value of a[3] if integer a[] = {5,4,3,2,1}?
Differentiate between calloc and malloc.
What is 2c dna?
Explain what are the __date__ and __time__ preprocessor commands?
What are the loops in c?
Why we not create function inside function.
How do I round numbers?
What is the usage of the pointer in c?
What is c system32 taskhostw exe?
Why do we use stdio h and conio h?
What is the difference between text files and binary files?