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

a=a^b;
b=b^a;
a=a^b;

Is This Answer Correct ?    13 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you explain the four storage classes in C?

1119


What is calloc()?

1067


What do you mean by dynamic memory allocation in c? What functions are used?

1158


What is storage class?

1072


Q.1 write a program to create binary tree 1 to 16 numbers? Q.2 write a program to creat a binary search tree for the member that is given by user?

2536


Do you know null pointer?

1017


Write a program to swap two numbers without using the third variable?

1060


What are the different types of constants?

1075


Does free set pointer to null?

998


What is the difference between far and near in c?

1065


Explain what are the different data types in c?

1211


which type of aspect you want from the student.

2158


Is a pointer a kind of array?

1174


what is the difference between 123 and 0123 in c?

1200


What is the difference between class and object in c?

1166