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



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

Answer / 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

More OOPS Interview Questions

What is the difference between declaration and definition?

20 Answers   IBS,


In which cases you use override and new base?

2 Answers  


What are the advantages of inheritance?

26 Answers   IBS, TCS,


What is the real life example of polymorphism?

0 Answers  


How can you overcome the diamond problem in inheritance?

0 Answers   NIIT,


What is for loop and its syntax?

0 Answers  


What is a class in oop?

0 Answers  


Why do we use polymorphism?

0 Answers  


what type of questions

0 Answers   IBM,


What is virtual destructor? Why?

3 Answers   Agile Software, College School Exams Tests, CSC,


What are the components of marker interface?

0 Answers  


wht is ditch

0 Answers  


Categories