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

which are the 4 members functions in c++ objects that can either be declared explicitly by programmer or implementation if nt available.

4 Answers  


Why is polymorphism important in oop?

0 Answers  


What is abstraction?

9 Answers  


What is the main feature of oop?

0 Answers  


What is the outcome of the line of code "cout<<abs(- 16.5);"? 1) 16 2) 17 3) 16.5

16 Answers   TCS,


What is the main purpose of inheritance law?

0 Answers  


In what situation factory design patterns,DAO design patterns,singleton design patterns should be applied.?

2 Answers  


What is advantage of inheritance?

0 Answers  


What does the keyword "static" mean?

4 Answers   TCS,


Why is oop better than procedural?

0 Answers  


What is abstraction and encapsulation?

0 Answers  


Is following functions are said to be overloaded? int add(int a,int b) char *add(int a,int b)

4 Answers  


Categories