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

write a program to display reverse of a number using for
loop?

Answer Posted / radhika

#include <stdio.h>
int main(void) {
int num[4], i;
printf("Enter the number :
");
printf("The reverse number is :
");
for(i = 4;i >= 0; i--) {
printf("%d",i);
printf("
");
}
return 0;
}

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?

2320


What is scanf_s in c?

1075


What is an array? What the different types of arrays in c?

1118


How can I get the current date or time of day in a c program?

1177


What is static memory allocation?

1119


How can this be legal c?

1053


Does free set pointer to null?

960


In C language, a variable name cannot contain?

1232


what type of questions arrive in interview over c programming?

1988


#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??

1919


Explain what is the difference between #include and #include 'file' ?

974


Write a c program to build a heap method using Pointer to function and pointer to structure ?

4633


Explain how can I pad a string to a known length?

1136


What is a pointer variable in c language?

1044


What does the characters “r” and “w” mean when writing programs that will make use of files?

1432