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...

Write a program that his output * *** *****

Answer Posted / srujitha

int main()
{
int n = 5;

for( int i = 0; i <= n; i = i + 2)
{
for( int j = 0; j<=i;j++)
{
printf("*");
}
printf(" ");
}

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where in memory are my variables stored?

1134


Can a local variable be volatile in c?

963


Is c easier than java?

1010


What is pass by value in c?

1030


"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above

992


i got 75% in all semester am i eligible for your company

2187


Is c programming hard?

984


An arrangement of information in memory in such a way that it can be easily accessed and processed by a programming language a) string b) data structure c) pointers d) array

1105


What are variables and it what way is it different from constants?

1205


What do you mean by dynamic memory allocation in c? What functions are used?

1126


Do string constants represent numerical values?

1344


Do variables need to be initialized?

1008


What is a file descriptor in c?

1071


how to write optimum code to divide a 50 digit number with a 25 digit number??

3219


What does void main () mean?

1197