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

#define SWAP(a,b) (a^=b^=a^=b;)

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are objects in oop?

1055


What are main features of oop?

1099


c++ program to swap the objects of two different classes

2375


Where You Can Use Interface in your Project

1855


What is static in oop?

1040


hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.

1927


Explain the advantages of inheritance.

1104


What are the components of marker interface?

1020


What is polymorphism and why is it important?

1009


What is object in oops?

1038


What is encapsulation with real life example?

1005


What are the advantages of polymorphism?

1001


Can an interface inherit a class?

1030


What is difference between abstraction and encapsulation?

1046


i am getting an of the type can not convert int to int *. to overcome this problem what we should do?

2277