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 4 number without using temporary number?

Answer Posted / brinda balakrishnan

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

Is This Answer Correct ?    25 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

A SIMPLE PROGRAM OF GRAPHICS AND THEIR OUTPUT I WANT SEE WAHAT OUTOUT OF GRAPHICS PROGRAM

2178


Can I initialize unions?

1092


Explain logical errors? Compare with syntax errors.

1128


Differentiate fundamental data types and derived data types in C.

1090


can we implement multi-threads in c.

1178


What is file in c preprocessor?

1196


What are the three constants used in c?

1042


How can I copy just a portion of a string?

1368


In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)

2176


Why are all header files not declared in every c program?

1150


what do the 'c' and 'v' in argc and argv stand for?

1220


Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?

1158


What functions are used for dynamic memory allocation in c language?

1215


Why doesnt that code work?

1277


What should malloc() do?

1219