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

How to swap 3 numbers without using 4th variable?

Answer Posted / pallavi dhanopiya

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

Is This Answer Correct ?    12 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is s or c?

1066


how we can make 3d venturing graphics on outer interface

4832


What is the stack in c?

1154


When should we use pointers in a c program?

1137


Mention four important string handling functions in c languages .

1114


Explain about the functions strcat() and strcmp()?

1053


Explain what are the different data types in c?

1223


Differentiate between the expression “++a” and “a++”?

1253


What standard functions are available to manipulate strings?

1155


I just typed in this program, and it is acting strangely. Can you see anything wrong with it?

1014


How will you divide two numbers in a MACRO?

1138


There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?

1305


how do you programme Carrier Sense Multiple Access

1969


How can you convert integers to binary or hexadecimal?

1037


Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc

5646