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

How many levels of indirection in pointers can you have in a single declaration?

1029


Explain what happens if you free a pointer twice?

1019


What is #include stdio h and #include conio h?

1043


Can we declare variable anywhere in c?

925


What is difference between structure and union in c programming?

1021


What is the -> in c?

957


Explain how do you determine the length of a string value that was stored in a variable?

1096


What is sizeof array?

1003


Why is event driven programming or procedural programming, better within specific scenario?

2369


What do header files do?

1022


#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }

1070


please give me some tips for the placement in the TCS.

2056


How can I remove the trailing spaces from a string?

1028


Explain what will the preprocessor do for a program?

1006


how to make a scientific calculater ?

2012