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 FIND A REVERSE OF TWO NO

Answer Posted / ajay

#include<stdio.h>
#include<conio.h>
main()
{
int a, b,c,d;
printf("Enter a value:");
scanf("%d", &a);
if (a%10==0)
{b=a/10;
printf("Reverse value is:%0d", b);}
else
{c=a%10;
d=(a/10)+(c*10);
printf("Reverse value is:%d", d);}
getch();
}

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What math functions are available for integers? For floating point?

1139


An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above

1219


List a few unconditional control statement in c.

989


how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software

3326


How is a structure member accessed?

1137


What is the purpose of void pointer?

1037


What are the benefits of organizational structure?

1031


What is queue in c?

1109


Write a C program to count the number of email on text

1921


what does static variable mean?

1116


What is the code in while loop that returns the output of given code?

1999


Describe dynamic data structure in c programming language?

1099


Is multithreading possible in c?

1016


Do variables need to be initialized?

1061


How to create struct variables?

1115