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 main () in c?

1115


How can you invoke another program from within a C program?

1120


What are disadvantages of C language.

1220


Explain what are the standard predefined macros?

1166


What is string length in c?

1158


Explain Function Pointer?

1240


What is static and auto variables in c?

1139


What is a constant?

1109


Explain what is the difference between a free-standing and a hosted environment?

1236


Can you write a programmer for FACTORIAL using recursion?

1097


What is the purpose of & in scanf?

1120


main() { printf("hello"); fork(); }

1248


What is time null in c?

1107


Is it acceptable to declare/define a variable in a c header?

1178


the portion of a computer program within which the definition of the variable remains unchanged a) mode b) module c) scope d) none

1108