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

Can you please explain the difference between syntax vs logical error?

1151


What could possibly be the problem if a valid function name such as tolower() is being reported by the C compiler as undefined?

1259


What is return in c programming?

945


Which is better malloc or calloc?

1078


What is the advantage of c?

1078


what is the function of pragma directive in c?

1088


How do you define structure?

1024


What is define c?

1031


What is use of pointer?

1042


What is difference between union and structure in c?

1109


write a C program:There is a mobile keypad with numbers 0-9 and alphabets on it. Take input 0f 7 keys and then form a word from the alphabets present on the keys.

15962


What is bubble sort technique in c?

943


What is the use of c language in real life?

998


Can you explain what keyboard debouncing is, and where and why we us it? please give some examples

2172


What are the applications of c language?

1044