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 / pavan

a=(a+b+c)-(b=a)-(c=b)

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the most efficient way to store flag values?

1181


Explain how can I open a file so that other programs can update it at the same time?

1108


Do pointers take up memory?

1151


What is wrong in this statement? scanf(ā€œ%dā€,whatnumber);

1235


What is use of pointer?

1086


How many types of operators are there in c?

1029


What is the difference between if else and switchstatement

1928


Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?

1085


What does the c in ctime mean?

1087


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

1171


What is the purpose of the preprocessor directive error?

1267


how do you programme Carrier Sense Multiple Access

1967


Why is c called "mother" language?

1284


How can I recover the file name given an open stream?

1007


How can you check to see whether a symbol is defined?

1100