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

Describe these concepts: Polymorphism, Inheritance and Abstraction.

1138


Why do we use class in oops?

914


IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?

2020


2. Give the different notations for the class.\

2079


What is object and class in oops?

1003


Which method cannot be overridden?

1013


What is interface? When and where is it used?

2105


What is coupling in oops?

1065


Which language is pure oop?

940


Why is abstraction used?

1024


Can destructor be overloaded?

978


Can an interface inherit a class?

1009


What is destructor give example?

1009


What language is oop?

960


Why is polymorphism needed?

1001