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 can u swap 2 variables in C without using 3rd variable?

Answer Posted / sj

main()
{
int a=20,b=30;
clrscr();
a=a+b;
b=a-b;
a=a-b;
printf("%d%d",a,b);
getch();
}

Is This Answer Correct ?    38 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

please anyone let me know the -ve testing of Excel sheet?

9625


What is ofx testing?

1225


What is an entry criteria?

1168


how to explain banking domain project in testing?

10922


Why we have to do manual testing?

1706


1. what exactly is heuristic checklist approach for unit testing ?

2755


what r the measure bugs found in your project??? Give some example abt this.

5001


why QA team is necessary for an organization?

3086


What are the main key components in web applications?

1239


Can you please explain about the erp project

1854


hai friends can u expalin about real time process of testing at the company, like flow diagram

2065


whats main working for tester. and developer, and prject manager.

2220


what is entry and exit criteria and explain it?

1516


What is the difference between Functional testing and Unit Functionality testing?

2083


Can you explain requirement traceability and its importance?

1158