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

#define SWAP(a,b) a=a+b-(b=a)

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an interface in oop?

1041


Why is abstraction used?

1089


What is difference between data abstraction and encapsulation?

1076


What is the difference between a constructor and a destructor?

1253


What is inheritance write a program to show use of inheritance?

1146


Prepare me a program for the animation of train

2472


Why do we use oops?

1010


write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.

2236


What is polymorphism oop?

1055


Which language is pure oop?

991


to find out the minimum of two integer number of two different classes using friend function

2127


i got a backdoor offer in process global,Bangalore..Can i work with it?

2841


What is the highest level of cohesion?

1045


can we make game by using c

4132


What is inheritance in oop?

1033