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

How can you increase the size of a statically allocated array?

1081


How can I avoid the abort, retry, fail messages?

1140


What's the right way to use errno?

1149


What is a macro?

1118


Explain how can you restore a redirected standard stream?

1102


how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.

1690


using for loop sum 2 number of any 4 digit number in c language

2351


What is indirection? How many levels of pointers can you have?

1152


What is merge sort in c?

1052


Which built-in library function can be used to match a patter from the string?

1305


what type of questions arrive in interview over c programming?

2033


Write the control statements in C language

1217


Difference between strcpy() and memcpy() function?

1158


Which is more efficient, a switch statement or an if else chain?

1030


Do you have any idea how to compare array with pointer in c?

1054