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 swap Two numbers without using temp variable.

Answer Posted / prashant

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

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we increase size of array in c?

1012


What does calloc stand for?

1240


I have a varargs function which accepts a float parameter?

1095


Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.

1292


Explain how does flowchart help in writing a program?

1168


What is 2 d array in c?

1087


What is function definition in c?

1118


can we have joblib in a proc ?

2379


Can the “if” function be used in comparing strings?

1105


What is meant by keywords in c?

1114


how many key words availabel in c a) 28 b) 31 c) 32

1129


write a program to generate address labels using structures?

4622


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

1061


PROGRAM TO WRITE CONTENTS OF 1 FILE IN REVERSE TO ANOTHER FILE,PROGRAM TO COPY 1 FILE TO ANOTHER BY SPECIFYING FILE NAMES AS COMMAND LINE

2082


What are enums in c?

1286