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

Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.

1245


What is polymorphism oop?

1070


What is destructor example?

1056


Is react oop?

1076


What is destructor in oop?

1041


Plese get me a perfect C++ program for railway/airway reservation with all details.

3910


What is the important feature of inheritance?

1143


what is difference between class template and template class?

2669


What is difference between polymorphism and inheritance?

1095


explain sub-type and sub class? atleast u have differ it into 4 points?

2320


What is static modifier?

1237


what type of question are asked in thoughtworks pair programming round ?

2221


Why interface is used?

1029


What is the difference between a constructor and a destructor?

1272


Can abstract class have normal methods?

1057