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

is there any choice in opting subjects like 4 out of 7

2145


Where is pseudocode used?

1063


What is variable example?

1007


What is the purpose of enum?

978


What is this pointer in oop?

1035


Will I be able to get a picture in D drive to the c++ program? If so, help me out?

2167


Why is it so that we can have virtual constructors but we cannot have virtual destructors?

4856


program for insertion ,deletion,sorting in double link list

2661


What are the three main types of variables?

1092


just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.

6901


What is debug class?what is trace class? What differences are between them? With examples.

2155


What is polymorphism give a real life example?

1009


Why is abstraction used?

1056


given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy

2589


What is abstraction in oops?

1001