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

Write a program to reverse a given number in c?

987


What is the best organizational structure?

1069


What are the main characteristics of c language describe the structure of ac program?

1154


what is ur strangth & weekness

2331


What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers

1199


How would you obtain the current time and difference between two times?

1239


When the macros gets expanded?

1341


Can a file other than a .h file be included with #include?

1103


Not all reserved words are written in lowercase. TRUE or FALSE?

1185


write a program for the normal snake games find in most of the mobiles.

2219


Is c++ based on c?

1026


can we change the default calling convention in c if yes than how.........?

2474


why programs in c are running with out #include? some warnings are display in terminal but we execute the program we get answer why? eg: main() { printf("hello world "); }

1714


write a c program to do the following: a) To find the area of a triangle. b) To convert the temperature from Fahrenheit to Celsius. c) To convert the time in hours : minutes : seconds to seconds.

1947


Explain union. What are its advantages?

1010