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

Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.

2204


What is inheritance and how many types of inheritance?

1111


What are the benefits of polymorphism?

1289


Can you inherit a private class?

1109


Can we create object of abstract class?

1113


When not to use object oriented programming?

1124


What is polymorphism and types?

1117


What type of loop is a for loop?

1099


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

2326


Why is static class not inherited?

1121


Can a varargs method be overloaded?

1122


What is an interface in oop?

1059


What is coupling in oop?

1044


How do you explain polymorphism?

1085


Why interface is used?

1033