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

What is fflush() function?

1192


Who invented bcpl language?

1249


What is the 'named constructor idiom'?

1153


Which of these functions is safer to use : fgets(), gets()? Why?

1165


what will be maximum number of comparisons when number of elements are given?

1953


What is use of #include in c?

1224


WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.

2500


What is difference between class and structure?

1160


What is an array in c?

1100


What is sizeof in c?

1058


Which control loop is recommended if you have to execute set of statements for fixed number of times?

1414


What are the 32 keywords in c?

1141


An expression to whose value an operater is applied a) operand b) variable c) constant d) all of the above

1229


Explain how do you list a file’s date and time?

1093


What does void main () mean?

1306