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 / chandan

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

Is This Answer Correct ?    1400 Yes 158 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is maximum size of array in c?

995


Write the control statements in C language

1133


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

1952


Describe how arrays can be passed to a user defined function

1228


code for replace tabs with equivalent number of blanks

2102


What is f'n in math?

1013


Tell me the use of bit field in c language?

1020


What is the equivalent code of the following statement in WHILE LOOP format?

1251


What is a function simple definition?

1033


Explain is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?

1159


In a header file whether functions are declared or defined?

1081


Is there any possibility to create customized header file with c programming language?

1009


What is a lvalue

1043


how to capitalise first letter of each word in a given string?

1876


Explain why can’t constant values be used to define an array’s initial size?

1308