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

Write a macro for swapping integers

Answer Posted / suresh

swap(a,b) a^=b^=a^=b;

Is This Answer Correct ?    12 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are classes oop?

1031


What is abstraction in oop?

1138


What is overloading in oops?

1164


What is encapsulation and abstraction? How are they implemented in C++?

1140


what is different between oops and c++

2550


What is the problem with multiple inheritance?

1168


Is html an oop?

1073


write a program to find 2^n+1 ?

2072


Can we create object of interface?

1135


What is destructor oops?

1098


What are the advantages of polymorphism?

1033


What is ambiguity in inheritance?

1120


Which language is not a true object oriented programming language?

1138


What is encapsulation with real life example?

1038


assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).

2118