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 gupta

# 2 a=a+b;
b=a-b;
a=a-b;

Is This Answer Correct ?    23 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a Program to find whether the given number or string is palindrome.

1228


How many types of operators are there in c?

984


What is an lvalue in c?

1065


Are pointers really faster than arrays?

965


What does the error message "DGROUP exceeds 64K" mean?

1169


What are the different types of control structures in programming?

1085


What is a char in c?

931


Why is c fast?

1009


How can you avoid including a header more than once?

928


How many levels of pointers have?

988


How can you restore a redirected standard stream?

1055


Write a program that accept anumber in words

1711


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

1298


Is malloc memset faster than calloc?

1016


What are the uses of null pointers?

1033