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

Write a program to interchange two variables without using
the third variable?

Answer Posted / pari

#include<stdio.h>
#include<conio.h>
void main()
{
int a,b;
printf("Enter two no");
scanf("%d%d",&a,&b);
a=a*b;
b=a/b;
a=a/b;
printf("After chanching no is =\n");
}

Is This Answer Correct ?    4 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the 10 different models of writing an addition program in C language?

1899


application areas a 'c' a) operating system b) graphics, interpreter, assembler c) program evalution, communication softwares d) all the above

1072


What is calloc in c?

1148


How can I implement sets or arrays of bits?

1049


Explain what is wrong with this program statement?

1126


What is the use of structure padding in c?

1080


What is the purpose of sprintf?

1143


What are types of functions?

1045


What is the difference between char array and char pointer?

1065


What is difference between constant pointer and constant variable?

1324


What are run-time errors?

1126


What are the two types of functions in c?

1018


What is the difference between constant pointer and constant variable?

1233


What is getch?

1202


What is 1f in c?

2668