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 NOS IN ONE STEP?

Answer Posted / ashik

#define SWAP(x,y) int t;t=x;x=y;y=t;

Is This Answer Correct ?    2 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I prevent another program from modifying part of a file that I am modifying?

1065


What is a string?

1127


Why can’t we compare structures?

1284


#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }

1127


What is the difference between exit() and _exit() function?

1054


What does %d do in c?

969


How can I read and write comma-delimited text?

1077


What is the purpose of main() function?

1258


What is the advantage of c?

1134


What does %c mean in c?

1106


Give differences between - new and malloc() , delete and free() ?

1105


What are the types of type specifiers?

1048


Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)

1286


Why does this code crash?

1105


Explain what is the use of a semicolon (;) at the end of every program statement?

1237