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

What is the difference between formatted&unformatted i/o functions?

1034


main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }

1114


What is c value paradox explain?

1050


What is identifier in c?

985


Give the rules for variable declaration?

1148


What is meant by type specifiers?

1105


What are called c variables?

1028


Write a program to print factorial of given number using recursion?

981


How many levels of pointers can you have?

1153


the real constant in c can be expressed in which of the following forms a) fractional form only b) exponential form only c) ascii form only d) both a and b

2641


Explain about block scope in c?

1058


Why isn't any of this standardized in c? Any real program has to do some of these things.

1179


How to write a code for reverse of string without using string functions?

2104


What is uint8 in c?

1084


write a c program for swapping two strings using pointer

2590