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 values using a single variable ?

condition: Not to use Array and Pointer ?

Answer Posted / vignesh1988i

GOOD MORNING,
swapping itself means that there must be minimum 2
variables ... if there is the way for above , that one is
not called as swapping......

Is This Answer Correct ?    17 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is masking?

1136


Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10

15792


What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

1101


i got 75% in all semester am i eligible for your company

2208


Why isnt any of this standardized in c?

1058


What is the value of h?

1024


What does double pointer mean in c?

1147


What is difference between stdio h and conio h?

1357


Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?

1116


Why do some versions of toupper act strangely if given an upper-case letter?

1063


What was noalias and what ever happened to it?

1027


What is the size of empty structure in c?

1070


What are the two types of functions in c?

988


Why clrscr is used in c?

1002


What is the general form of #line preprocessor?

983