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

What are the types of unary operators?

1155


Why functions are used in c?

1091


What is a lookup table in c?

1078


how to execute a program using if else condition and the output should enter number and the number is odd only...

2237


What is external variable in c?

1030


Which control loop is recommended if you have to execute set of statements for fixed number of times?

1317


Declare the structure which contains the following members and write in C list of all students who score more than 75 marks. Roll No, Name, Father Name, Age, City, Marks.

1288


What is the difference between typedef and #define?

1012


Why c is procedure oriented?

1019


illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question

2041


How do you list a file’s date and time?

1041


What are the advantages of Macro over function?

1961


What is a volatile keyword in c?

1132


Describe the order of precedence with regards to operators in C.

1022


What is a stream in c programming?

1109