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 exchange two variaables without temp

Answer Posted / kadher

void main()
{
int a=10,b=5;
a=a^b;
b=a^b;
a=a^b;

}

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain goto?

1199


What are the usage of pointer in c?

1240


Explain the concept and use of type void.

1161


A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers

1276


What is a const pointer in c?

1173


How the c program is executed?

1193


code for find determinent of amatrix

2011


What is the use of bit field?

1229


Explain why C language is procedural?

1269


What is difference between structure and union with example?

1119


What are the rules for the identifier?

1215


Describe the header file and its usage in c programming?

1105


What is action and transformation in spark?

1223


What is string function in c?

1045


What is the purpose of the preprocessor directive error?

1313