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 2 numbers in a single statement?

Answer Posted / ushagva1

a=a+b-(b=a);

Is This Answer Correct ?    21 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When should you use a type cast?

1112


Explain what are binary trees?

1062


What is the purpose of sprintf() function?

1102


What is static volatile in c?

1013


What is the explanation for prototype function in c?

961


What is infinite loop?

1076


What is the use of the function in c?

1007


What is calloc malloc realloc in c?

1046


What are the 3 types of structures?

1019


How many bytes are occupied by near, far and huge pointers (dos)?

1145


What the different types of arrays in c?

1052


Why is %d used in c?

996


Differentiate Source Codes from Object Codes

1548


How does placing some code lines between the comment symbol help in debugging the code?

981


Why do we use int main?

1087