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 / rockin pro

Answer
# 9 #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;
}

Thanks for Marking this A

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are header files in c programming?

1128


What does a pointer variable always consist of?

1093


Where is c used?

1092


What happens if header file is included twice?

1142


Why ca not I do something like this?

1008


In c language can we compile a program without main() function?

1131


When is a “switch” statement preferable over an “if” statement?

1138


What is the purpose of sprintf?

1128


How is actual parameter different from the formal parameter?

1021


How do we declare variables in c?

1058


Why is extern used in c?

1091


What is a MAC Address?

1054


What is the purpose of main() function?

1243


Why can't I perform arithmetic on a void* pointer?

1091


Where static variables are stored in c?

1105