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

Explain how do you print only part of a string?

1197


How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same

1085


Can you assign a different address to an array tag?

1153


What is wrong in this statement?

1122


What do you mean by a sequential access file?

1064


How many header files are in c?

1017


What is use of pointer?

1064


Difference between macros and inline functions? Can a function be forced as inline?

1247


What is the correct declaration of main?

1197


which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +

1715


What is linear search?

1121


please give me some tips for the placement in the TCS.

2090


What is the role of this pointer?

1048


Is there a way to compare two structure variables?

1097


If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?

1239