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

# define swap(a,b) a = a + b; b = a - b; a = a - b;

Is This Answer Correct ?    50 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is object and example?

1182


What does no cap mean?

1068


What are the components of marker interface?

1067


What is persistence in oop?

1151


officer say me - i am offered to a smoking , then what can you say

2103


What type of loop is a for loop?

1093


What is the difference between a mixin and inheritance?

992


What is the important feature of inheritance?

1143


what is graphics

2470


Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.

2467


Advantage and disadvantage of routing in telecom sector

1310


What does I oop mean?

1081


INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?

2213


What is overloading in oop?

1015


What does enum stand for?

1127