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

Is javascript written in c?

1065


Who developed c language?

1095


 write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare.  You will then tabulate this information in another file.

2223


Simplify the program segment if X = B then C ← true else C ← false

3018


Explain how are 16- and 32-bit numbers stored?

1271


What is a const pointer in c?

1132


What does the message "automatic aggregate intialization is an ansi feature" mean?

1190


C program to find all possible outcomes of a dice?

2363


What does stand for?

1085


Explain what happens if you free a pointer twice?

1090


There seem to be a few missing operators ..

1048


What is the total generic pointer type?

1159


What is the difference between scanf and fscanf?

1268


What is a class c rental property?

1100


Explain how can you determine the size of an allocated portion of memory?

1114