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 in a single statement?

Answer Posted / uj

(x ^= y), (y ^= x), (x ^= y);

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are header files? What are their uses?

1288


how to print the character with maximum occurence and print that number of occurence too in a string given ?

2537


How can I prevent another program from modifying part of a file that I am modifying?

1111


What is a constant and types of constants in c?

1176


What is 02d in c?

1114


How do I round numbers?

1057


What is the size of structure pointer in c?

1122


How to explain the final year project as a fresher please answer with sample project

1028


State the difference between realloc and free.

1149


What is the explanation for prototype function in c?

1036


What is difference between && and & in c?

1160


What does *p++ do? What does it point to?

1124


What are header files in c programming?

1183


Write a program to print factorial of given number without using recursion?

1048


what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)

2473