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

Why is sizeof () an operator and not a function?

1040


Explain what is the advantage of a random access file?

1126


Is struct oop?

1018


a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list

1070


program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)

2109


Is a house a shell structure?

1171


What are global variables and how do you declare them?

1107


What is difference between structure and union?

1142


How can you determine the maximum value that a numeric variable can hold?

1241


Does c have function or method?

1012


Explain what’s a signal? Explain what do I use signals for?

1169


When would you use a pointer to a function?

1056


What is union in c?

1124


how to construct a simulator keeping the logical boolean gates in c

2264


What is indirection? How many levels of pointers can you have?

1153