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

swap two integer variables without using a third temporary
variable?

Answer Posted / jigish

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

simple..try it

Is This Answer Correct ?    15 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can a program be made to print the line number where an error occurs?

1134


Explain what header files do I need in order to define the standard library functions I use?

1222


What is a pointer and how it is initialized?

1227


What does 4d mean in c?

1561


define string ?

1164


What are header files and explain what are its uses in c programming?

1169


What is scope rule in c?

1122


process by which one bit patten in to another by bit wise operation is? (a) masking, (b) pruning, (c) biting, (d) chopping,

2473


Tell me about low level programming languages.

1188


Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?

1124


What is the difference between a function and a method in c?

1130


How can I write functions that take a variable number of arguments?

1186


Does * p ++ increment p or what it points to?

1186


How many loops are there in c?

1161


What are the advantages of union?

1117