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

swap two no without using third variable

Answer Posted / mik30

its very simple question and it can be easily solved by some
logical reasioning ablity...my answer is given below:
#include<stdio.h>
#include<conio.h>
int main()
{
int a=2,b=2;

a=a-b;
b=a+b;
a=b-a;


printf("%d%d",a,b);
getch();
return 0;
}
ad we are from campusmainac group and our core part is
c/c++/php.so if u had any problem in
programming,alogorithm,hacking,networking,windows and Data
structure,come to this site:
http://www.campusmaniac.com/
http://forum.campusmaniac.com/

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a script to delete all the files in a folder except one desired file.

1280


how exactly is the lngColour used?

2117


create a .dll component operation and use created component in another project. required methods events and properties. connect, add,search,data report

2459