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 program to swap Two numbers without using temp variable.

Answer Posted / chandan

a=a+b;
b=a-b;
a=a-b;

Is This Answer Correct ?    1400 Yes 158 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which node is more powerful and can handle local information processing or graphics processing?

1370


List the different types of c tokens?

1120


What is a char in c?

1038


write a programming in c to find the sum of all elements in an array through function.

2220


What is the difference between exit() and _exit() function in c?

1129


How many types of sorting are there in c?

1111


What is the difference between fread buffer() and fwrite buffer()?

1224


What are the types of data files?

1252


can anyone please tell about the nested interrupts?

2183


Which is best linux os?

1080


What are enums in c?

1286


Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?

1164


Can a pointer be null?

1079


What are void pointers in c?

1061


What does c mean in basketball?

1045