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 all the values without using temporary variable.
tha values r a = 20, x=60 and p=2.

Answer Posted / chaitanya

x=x^a;
a=x^a;
x=a^x;

x=x^p;
p=x^p;
x=p^x;

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Find out the roles which gives access to all tables in SAP? Thanks in advance.

2006


write a sql qwery which include joining of two tables 4 marks mainframe

1914


Difference between delegates and Events?

2150


how can we implement locks in plsql?

2278


Where do we need Operator overloading?

1085


Difference between HTML and DHTML?

2162


Find out the list of roles which gives access to GUI activities? thanks in advance

2110


what are the advantages of sap on other software ?

2138


pleasew define carrier scope in abap (sap).

2627


Explain three modes in which files can be accessed from python program

1742


write the a cl program with the following specification A. Accept 2 parameters-date and date type B. if date type is J then convert date to *MDY format C. if date type is M convert date to *JUL format 4.send a program message with the value of converted date Please explain for each with coding?

2606


how can i create report in abap to insert data in table pa0002 using insert command

2171


Display names and numbers of employees who have 5 years or more experience and  salary less than Rs.15000 using array of structures (name, number, experience and  salary)

4727


how will you code the subfile which is in editing mode (multiple case subfile)?

2073


Difference between views and index in sas programming

1485