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 swap Two numbers without using temp variable.

Answer Posted / krishana singh

a=a*b;
b=a/b;
a=a/b;

Is This Answer Correct ?    1 Yes 2 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?

1037


int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer

996


Why is void main used?

1039


What is #include cctype?

1079


Explain what is meant by high-order and low-order bytes?

1002


Once I have used freopen, how can I get the original stdout (or stdin) back?

1035


Can stdout be forced to print somewhere other than the screen?

1018


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

971


Explain union.

1119


What are the functions to open and close the file in c language?

990


Is c call by value?

970


What is a function simple definition?

1035


write a program in c language to print your bio-data on the screen by using functions.

6735


Is that possible to store 32768 in an int data type variable?

1038


what is the basis for selection of arrays or pointers as data structure in a program

4253