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 exchange two variaables without temp

Answer Posted / vijay

main()
{
int a, b;
a=a+b;
b=a-b;
a=a-b;
}

Is This Answer Correct ?    24 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use int main instead of void main in c?

1159


c program for searching a student details among 10 student details

2094


Do you know pointer in c?

1061


How many bytes is a struct in c?

1180


c language supports bitwise operations, why a) 'c' language is system oriented b) 'c' language is problem oriented c) 'c' language is middle level language d) all the above

1064


What is the explanation for modular programming?

1227


Write a simple code fragment that will check if a number is positive or negative.

1169


I came across some code that puts a (void) cast before each call to printf. Why?

1231


which is an algorithm for sorting in a growing Lexicographic order

1816


What is anagram in c?

931


What does p mean in physics?

1052


What are pointers really good for, anyway?

1075


What is cohesion and coupling in c?

1047


code for replace tabs with equivalent number of blanks

2171


How many levels of pointers can you have?

1206