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 2 numbers within a single statement?

Answer Posted / raja

a^=b^=a^=b;

Is This Answer Correct ?    6 Yes 1 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


Who is the founder of c language?

1223


What are data structures in c and how to use them?

1220


What are the 5 organizational structures?

1080


What is memcpy() function?

1167


What is hash table in c?

1077


What is c preprocessor mean?

1373


Why should I use standard library functions instead of writing my own?

1313


Differentiate between null and void pointers.

1230


What is "Duff's Device"?

1221


Which header file should you include if you are to develop a function which can accept variable number of arguments?

1462


Why is it important to memset a variable, immediately after allocating memory to it ?

2133


What functions are used for dynamic memory allocation in c language?

1212


What is anagram in c?

980


what is the difference between 123 and 0123 in c?

1276