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 I ensure that integer arithmetic doesnt overflow?

1173


what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9

1835


How will you divide two numbers in a MACRO?

1141


What is difference between stdio h and conio h?

1383


Write a program for Overriding.

1161


What are pointers in C? Give an example where to illustrate their significance.

1228


What are categories used for in c?

1100


What is difference between class and structure?

1116


How to delete a node from linked list w/o using collectons?

2782


What are the keywords in c?

1125


Explain the bubble sort algorithm.

1075


In C programming, how do you insert quote characters (‘ and “) into the output screen?

1534


How do I copy files?

1061


console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above

1179


What is enumerated data type in c?

1085