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 can I make sure that my program is the only one accessing a file?

1347


shorting algorithmS

2312


any C program contains only one function, it must be a) void () b) main () c) message () d) abc ()

1167


What does struct node * mean?

1067


What is printf () in c?

1143


What are the types of bitwise operator?

1164


What is #include cctype?

1176


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

1398


Write a program of advanced Fibonacci series.

1203


Is it cc or c in a letter?

1077


Explain what is meant by 'bit masking'?

1264


Is c compiled or interpreted?

1244


What is header file in c?

1107


Is it possible to execute code even after the program exits the main() function?

1391


program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)

2145