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

how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12

1024


How many bytes is a struct in c?

1108


Describe wild pointers in c?

1066


What are the similarities between c and c++?

1008


What are the characteristics of arrays in c?

996


What does %d do?

1210


What is array in C

1105


What is the difference between arrays and pointers?

1072


What are the functions to open and close file in c language?

1133


Explain that why C is procedural?

1088


What are lookup tables in c?

954


What is getch () for?

1155


Explain the difference between structs and unions in c?

965


Differentiate between a structure and a union.

1233


c language interview questions & answer

1903