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

What is variable in c example?

1131


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

1883


Why is it important to memset a variable, immediately after allocating memory to it ?

2133


Describe dynamic data structure in c programming language?

1136


What is function prototype in c language?

1085


What is I ++ in c programming?

1170


Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.

1998


Where are the auto variables stored?

1204


Explain setjmp()?

1116


Can the size of an array be declared at runtime?

1143


diff between exptected result and requirement?

2112


What does c mean in standard form?

1245


What is file in c preprocessor?

1194


Tell us bitwise shift operators?

1145


Differentiate between a for loop and a while loop? What are it uses?

1234