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

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

Is This Answer Correct ?    89 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is advantage of pointer in c?

1127


What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?

1383


What is bubble sort in c?

1005


What is %d called in c?

1185


What is the difference between far and near ?

1156


Why do we need functions in c?

958


What does the && operator do in a program code?

1162


How would you use the functions fseek(), freed(), fwrite() and ftell()?

1106


PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM

2146


What is a structure in c language. how to initialise a structure in c?

1022


What Is The Difference Between Null And Void Pointer?

1158


What is #define size in c?

1122


what does static variable mean?

1054


how to write optimum code to divide a 50 digit number with a 25 digit number??

3209


Explain 'far' and 'near' pointers in c.

1085