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

Where in memory are my variables stored?

1116


what are the different storage classes in c?

1122


Why we use stdio h in c?

987


Difference between exit() and _exit() function?

1080


How is null defined in c?

1105


What are the characteristics of arrays in c?

994


Is malloc memset faster than calloc?

1018


Is it possible to pass an entire structure to functions?

944


What are the types of bitwise operator?

1051


How can I pad a string to a known length?

971


What is multidimensional arrays

1070


Explain what is the difference between a free-standing and a hosted environment?

1129


Explain how can I manipulate strings of multibyte characters?

1164


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.

3771


What is #include stdio h and #include conio h?

1043