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...

how to swap two integers 1 and 32767 without using third
variable

Answer Posted / sathwika

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

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between printf and scanf in c?

1359


How can I find out how much free space is available on disk?

1057


Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor

3545


explain what are actual arguments?

1091


Explain the bubble sort algorithm.

1075


Do you have any idea how to compare array with pointer in c?

1052


How can I dynamically allocate arrays?

1104


Can true be a variable name in c?

1043


1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.

2156


What language is windows 1.0 written?

1068


What is difference between stdio h and conio h?

1383


What is the difference between test design and test case design?

2093


What is the general form of #line preprocessor?

1000


which of the following is not a character constant a) 'thank you' b) 'enter values of p, n ,r' c) '23.56E-o3' d) all of the above

2065


In C language what is a 'dangling pointer'?

1162