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 maximum size of array in c?
What does int main () mean?
What does the c in ctime mean?
Which is the best website to learn c programming?
Can a program have two main functions?
How to declare pointer variables?
how could explain about job profile
How can you find the exact size of a data type in c?
What does 3 mean in texting?
An organised method of depicting the use of an area of computer memory used to signify the uses for different parts of the memory a) swap b) extended memory c) memory map d) all of the above
Explain what is the difference between a string and an array?
Explain the difference between getch() and getche() in c?
How to write a multi-statement macro?
How can I swap two values without using a temporary?
What is calloc malloc realloc in c?