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 within a single statement?

Answer Posted / ushabharath

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

Is This Answer Correct ?    27 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is adt in c programming?

1166


List some basic data types in c?

1029


Multiply an Integer Number by 2 Without Using Multiplication Operator

768


Explain what is the concatenation operator?

1174


i = 25;switch (i) {case 25: printf("The value is 25 ");case 30: printf("The value is 30 "); When the above statements are executed the output will be : a) The value is 25 b) The value is 30 c) The value is 25 The value is 30 d) none

1071


What are directives in c?

974


write a C program: To recognize date of any format even formats like "feb-02-2003","02-february-2003",mm/dd/yy, dd/mm/yy and display it as mm/dd/yy.

3831


What is dynamic memory allocation?

1337


How does sizeof know array size?

1125


Give me the code of in-order recursive and non-recursive.

1378


Explain output of printf("Hello World"-'A'+'B'); ?

1500


What is static memory allocation?

1178


What are the 4 types of unions?

1046


In a byte, what is the maximum decimal number that you can accommodate?

1142


Explain 'far' and 'near' pointers in c.

1144