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 / anil joshi

b=(a*a)/a+(a=b)-a;

Is This Answer Correct ?    13 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you apply link and association interchangeably?

1095


What does %d do?

1229


Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?

1228


What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25

1960


Where local variables are stored in c?

974


what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9

1805


Can you explain the four storage classes in C?

1094


What is a scope resolution operator in c?

1232


Tell me what is the purpose of 'register' keyword in c language?

989


What is the difference between text and binary modes?

1154


Why ca not I do something like this?

993


what value is returned to operating system after program execution?

2085


What do the functions atoi(), itoa() and gcvt() do?

1158


Can you please explain the difference between exit() and _exit() function?

1009


Explain how can I prevent another program from modifying part of a file that I am modifying?

1058