Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is a protocol in c?

1001


How many keywords (reserve words) are in c?

1139


Tell us two differences between new () and malloc ()?

1183


printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions

1154


how we can make 3d venturing graphics on outer interface

4828


How is a pointer variable declared?

1086


What is the difference between a string and an array?

1201


Explain what is meant by 'bit masking'?

1193


Explain bit masking in c?

1134


When c language was developed?

1058


How can I call a function with an argument list built up at run time?

1242


What are control structures? What are the different types?

1086


What is meant by high-order and low-order bytes?

1047


How will you write a code for accessing the length of an array without assigning it to another variable?

1044


How can you be sure that a program follows the ANSI C standard?

1601