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 / prashant

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

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why are all header files not declared in every c program?

1041


Compare interpreters and compilers.

1027


Which type of language is c?

1019


Write a program to print fibonacci series using recursion?

1004


Did c have any year 2000 problems?

1062


Explain about the functions strcat() and strcmp()?

989


largest Of three Number using without if condition?

1524


Are enumerations really portable?

977


Explain how do you list files in a directory?

1014


What is c language used for?

922


Is fortran still used today?

1038


‎How to define structures? · ‎

1029


Why flag is used in c?

1067


Write the syntax and purpose of a switch statement in C.

1038


Explain what standard functions are available to manipulate strings?

1022