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 / nikhil godani

a=a+b;
b=a-b;
a=a-b;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to make a scientific calculater ?

2066


What is the purpose of main( ) in c language?

1131


Which is best linux os?

1024


Which is better malloc or calloc?

1097


please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................

2011


What is the significance of c program algorithms?

1141


What is a #include preprocessor?

1145


In C language what is a 'dangling pointer'?

1133


What are the 5 types of inheritance in c ++?

1021


What is sizeof c?

1070


What does the file stdio.h contain?

1054


What is printf () in c?

1075


what is the diffrenet bettwen HTTP and internet protocol

1832


I have written a pro*C program to fetch data from the cursor. where in i have used the concept of BULK FETCH.... each FETCH statement is taking lots of time to fetch specified number of rows at...

10195


Can we assign integer value to char in c?

1239