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

how can i get the output
54321
4321
321
21
1

in c programming........???? pls help......

Answer Posted / jayaraj.s

#include<stdio.h>
main()
{
int a,b;
for(a=5;a!=0;a--)
{
for(b=a;b!=0;b--)
{
printf("%d",b);
}
printf("\n");
}

getch();
}

Is This Answer Correct ?    87 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we use visual studio for c?

1008


Why #include is used in c language?

992


Write a program to find the biggest number of three numbers in c?

1004


Can a variable be both static and volatile in c?

973


What is the meaning of c in c language?

1072


Is c procedural or object oriented?

952


What is string length in c?

1023


Explain do array subscripts always start with zero?

1174


What is bash c?

957


How can I read in an object file and jump to locations in it?

985


What is wrong in this statement?

1075


What is meant by realloc()?

1084


How can I make sure that my program is the only one accessing a file?

1189


Why are algorithms important in c program?

1067


Why do we use pointer to pointer in c?

1019