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...

i^=j;
j^=i;
i^=j;
value of i,j

Answer Posted / xyz

this code snippet will swap the value of i and j
This code works same as
i=i+j;
j=i-j;
i=i-j;

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is abstraction in oop?

1192


What is static modifier?

1331


• What are the desirable attributes for memory managment?

2284


What is the difference between encapsulation and polymorphism?

1157


Why do we use polymorphism in oops?

1109


What does oop mean in snapchat?

1301


write string class as your own class in java without using any built-in function

2555


just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.

6996


What are properties in oop?

1146


What is interface? When and where is it used?

2211


any one please tell me the purpose of operator overloading

2446


hi all..i want to know oops concepts clearly can any1 explain??

2180


What is advantage of inheritance?

1228


Why oops is important?

1200


What is oops in simple words?

1168