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...

swapping program does not use third variable

Answer Posted / jayabalan.s

void main()
{
int a,b;//example a=10,b=12;
a=a+b;//a=22
b=a-b;//b=10;
a=a-b;//a=12
}

Is This Answer Correct ?    17 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the fundamental idea of oop?

1131


How to use CMutex, CSemaphore in VC++ MFC

4776


write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory

3219


What is encapsulation with example?

1096


Get me an image implementation program.

1978


What are objects in oop?

1099


design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)

6676


Can we create object of interface?

1128


What is polymorphism in oop example?

1020


write knight tour problem which is present in datastructure

2649


What does sksksk mean in text slang?

2112


what's the basic's in dot net

2177


What does and I oop mean?

1171


What is new keyword in oops?

1039


2. Give the different notations for the class.\

2156