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...

wat are the two methods for swapping two numbers without
using temp variable??

Answer Posted / abhishek karnani

int a=10,b=5;

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

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Describe the complexity of Binary search, Quicksort and various other sorting and searching techniques..

1045


Explain what is the heap?

1068


What is function what are the types of function?

1007


Describe wild pointers in c?

1129


Explain how can I convert a number to a string?

1164


Explain what are the advantages and disadvantages of a heap?

1094


What is static volatile in c?

1036


What is difference between scanf and gets?

1294


What is calloc malloc realloc in c?

1070


What is table lookup in c?

1111


What is size of union in c?

1041


Where does the name "C" come from, anyway?

1181


how many errors in c explain deply

2099


What is define c?

1094


in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above

1071