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 integer variables without using a third temporary
variable?

Answer Posted / abhinav lohar

t=a;
a=b;
b=t;

Is This Answer Correct ?    0 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is stack a keyword in c?

1060


Explain how do you print only part of a string?

1184


Write a program to swap two numbers without using a temporary variable?

1099


Write a code of a general series where the next element is the sum of last k terms.

1014


Write a program to swap two numbers without using the third variable?

1036


What is double pointer?

970


The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this

3538


This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory

1228


What is unsigned int in c?

958


How can I invoke another program (a standalone executable, or an operating system command) from within a c program?

1159


What is the difference between array and pointer in c?

1115


simple program of graphics and their output display

1965


What is difference between stdio h and conio h?

1341


In a header file whether functions are declared or defined?

1096


What is the meaning of && in c?

985