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 a protocol in c?
How many keywords (reserve words) are in c?
Tell us two differences between new () and malloc ()?
printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions
how we can make 3d venturing graphics on outer interface
How is a pointer variable declared?
What is the difference between a string and an array?
Explain what is meant by 'bit masking'?
Explain bit masking in c?
When c language was developed?
How can I call a function with an argument list built up at run time?
What are control structures? What are the different types?
What is meant by high-order and low-order bytes?
How will you write a code for accessing the length of an array without assigning it to another variable?
How can you be sure that a program follows the ANSI C standard?