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 3 numbers without using 4th variable?

Answer Posted / pavan

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

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is size of union in c?

1079


Write a C++ program to generate 10 integer numbers between - 1000 and 1000, then store the summation of the odd positive numbers in variable call it sum_pos, then find the maximum digit in this variable regardless of its digits length.

2055


Is it acceptable to declare/define a variable in a c header?

1178


What are the 5 organizational structures?

1080


What is structure padding in c?

1183


What is getch c?

1341


How will you declare an array of three function pointers where each function receives two ints and returns a float?

1426


Write an algorithm for implementing insertion and deletion operations in a singly linked list using arrays ?

3561


Explain what are preprocessor directives?

1124


What is omp_num_threads?

1131


What are dangling pointers in c?

1350


What is sizeof array in c?

1111


Can a program have two main functions?

1176


What are the Advantages of using macro

1216


What are the different types of errors?

1201