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

Output for following program using for loop only
*
* *
* * *
* * * *
* * * * *

Answer Posted / sampath

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

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between formatted&unformatted i/o functions?

1055


What are the Advantages of using macro

1166


How can I change their mode to binary?

1110


What are the 5 organizational structures?

1025


Why can’t constant values be used to define an array’s initial size?

1374


How are strings stored in c?

1013


Can we change the value of constant variable in c?

1054


Calculate 1*2*3*____*n using recursive function??

2036


Why doesnt that code work?

1173


How would you rename a function in C?

1038


What is methods in c?

1084


How do you sort filenames in a directory?

1168


What is nested structure with example?

1070


Explain what does the format %10.2 mean when included in a printf statement?

1359


Difference between pass by reference and pass by value?

1158